search for: consolehandler

Displaying 8 results from an estimated 8 matches for "consolehandler".

2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...--- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb index 693a6f2..5ff6a90 100755 --- a/src/host-browser/host-register.rb +++ b/src/host-browser/host-register.rb @@ -393,13 +393,18 @@ class HostRegister < Qmf::ConsoleHandler # if we have a match, then update the database and remove # the received data to avoid creating a dupe later @logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}" - if detai...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
...---- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb index 5ff6a90..7bf957d 100755 --- a/src/host-browser/host-register.rb +++ b/src/host-browser/host-register.rb @@ -393,14 +393,13 @@ class HostRegister < Qmf::ConsoleHandler # if we have a match, then update the database and remove # the received data to avoid creating a dupe later @logger.info "Searching for existing record for: #{detail.macaddr.upcase} in host #{host_qmf.hostname}" - # if detail.interface...
2009 Nov 13
1
[PATCH server] Replace the occurence of the type @qmfc.object(Qmf::Query.new(:class => "xxx", 'key' => search_key)) for @qmfc.object(Qmf::Query.new(:class => "xxx"), 'key' => search_key) else the search on the key is not functionnal.
...rc/matahari-list.rb | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index 686ad71..da11bfa 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -198,7 +198,7 @@ class DbOmatic < Qmf::ConsoleHandler if state == Vm::STATE_STOPPED @logger.info "VM has moved to stopped, clearing VM attributes." - qmf_vm = @qmfc.object(Qmf::Query.new(:class => "domain", 'uuid' => vm.uuid)) + qmf_vm = @qmfc.object(Qmf::Query.new(:class...
2010 Jun 08
1
[PATCH] Fix optimistic locking during vm migration
...src/db-omatic/db_omatic.rb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index da11bfa..79f29d2 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -195,6 +195,9 @@ class DbOmatic < Qmf::ConsoleHandler end @logger.info "Updating VM #{domain['name']} to state #{state}" + # Optimistic locking often fails for this operation + # See http://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html#M001320 + vm.lock! if state...
2003 Apr 07
1
chan_local segfault
...No such file or directory. in mutex.c (gdb) bt #0 __pthread_mutex_lock (mutex=0x5d8) at mutex.c:99 #1 0x4161ed29 in locals_show (fd=1, argc=2, argv=0xbffff770) at chan_local.c:358 #2 0x08067268 in ast_cli_command (fd=1, s=0x80be7c8 "show locals") at cli.c:911 #3 0x080777ab in consolehandler (s=0x80be7c8 "show locals") at asterisk.c:475 #4 0x080792ed in main (argc=2, argv=0xbffffc74) at asterisk.c:1335 #5 0x400c8336 in __libc_start_main (main=0x8078900 <main>, argc=2, ubp_av=0xbffffc74, init=0x804ff8c <_init>, fini=0x8099e50 <_fini>, rtld_fini=0x4000d2fc &...
2020 Aug 14
0
Wine release 5.15
The Wine development release 5.15 is now available. What's new in this release (see below for details): - Initial implementation of the XACT Engine libraries. - Beginnings of a math library in MSVCRT based on Musl. - Still more restructuration of the console support. - Direct Input performance improvements. - Exception handling fixes on x86-64. - Various bug fixes. The source is
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...eadjustment to ruby logger class is # required to fix the formatting because rails does the same # thing but overrides it to just the message. @@ -29,12 +29,9 @@ end $logfile = '/var/log/ovirt-server/db-omatic.log' - -class DbOmatic < Qpid::Qmf::Console - +class DbOmatic < Qmf::ConsoleHandler # Use monitor mixin for mutual exclusion around checks to heartbeats # and updates to objects/heartbeats. - include MonitorMixin def initialize() @@ -77,7 +74,6 @@ class DbOmatic < Qpid::Qmf::Console begin ensure_credentials - database_c...
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...gent_key uuid hostname hypervisor arch memory This is all good, those properties do exist in new Matahari 0.4.0 schema, patch for this part would be simply: --- a/src/host-browser/host-register.rb +++ b/src/host-browser/host-register.rb @@ -143,7 +143,7 @@ class HostRegister < Qmf::ConsoleHandler debugputs "Agent #{agent.key}.connected!" agent_connected(agent) - host_list = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'host') + host_list = @qmfc.objects(:package => 'com.redhat.matahari.host', :clas...