Displaying 6 results from an estimated 6 matches for "qmf_host".
Did you mean:
my_host
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.
...the node it is running on"
- qmf_vm = @qmfc.object(Qmf::Query.new(:class => "domain", 'uuid' => vm.uuid))
+ qmf_vm = @qmfc.object(Qmf::Query.new(:class => "domain"), 'uuid' => vm.uuid)
if qmf_vm
qmf_host = @qmfc.object(Qmf::Query.new(:class => "node", :object_id => qmf_vm.node))
db_host = Host.find(:first, :conditions => ['hostname = ?', qmf_host.hostname])
@logger.info "VM #{vm.description} is running on node #{db_host.hostname}&quo...
2009 Dec 02
0
Qmf::Query Hang in db-omatic
...pears when the number of message in qpidd increase. It seems
that qpidd is doing the job and that most of the issue are due to Qmf::Query .
For example in db-omatic lines 265,296
When you restart db-omatic, if you have multiple node, you have mutiple
threads launch (line 266) that hang on :
qmf_host = @qmfc.objects(Qmf::Query.new(:class => "node"), 'hostname' => host_info['hostname'])
The function never return. But qpidd never stop to answer correctly to the
request done by ruby-qmf.
A workarround for us consist to :
- stopping all the libvirt-qpid on ever...
2009 Aug 07
1
[PATCH server] Fixed db-omatic to update the host for a running vm when the object_props callback is fired.
...at the domain is running on
+ elsif state == Vm::STATE_RUNNING
+ @logger.info "VM is running, determine the node it is running on"
+ qmf_vm = @session.object(:class => "domain", 'uuid' => vm.uuid)
+ if qmf_vm
+ qmf_host = @session.object(:class => "node", :object_id => qmf_vm.node)
+ db_host = Host.find(:first, :conditions => ['hostname = ?', qmf_host.hostname])
+ @logger.info "VM #{vm.description} is running on node #{db_host.hostname}"
+...
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
...hould be set to
+ # stopped.
+ @logger.info "Checking for dead VMs on newly available host #{host_info['hostname']}."
+
+ # Double check to make sure this host is still up.
+ begin
+ qmf_host = @session.object(:class => 'node', 'hostname' => host_info['hostname'])
+ if !qmf_host
+ @logger.info "Host #{host_info['hostname']} is not up after waiting 20 seconds, skipping dead VM check."
+...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...g, determine the node it is running on"
- qmf_vm = @session.object(:class => "domain", 'uuid' => vm.uuid)
+ qmf_vm = @qmfc.object(Qmf::Query.new(:class => "domain", 'uuid' => vm.uuid))
if qmf_vm
- qmf_host = @session.object(:class => "node", :object_id => qmf_vm.node)
+ qmf_host = @qmfc.object(Qmf::Query.new(:class => "node", :object_id => qmf_vm.node))
db_host = Host.find(:first, :conditions => ['hostname = ?', qmf_host.hostn...
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...hould be set to
+ # stopped.
+ @logger.info "Checking for dead VMs on newly available host #{host_info['hostname']}."
+
+ # Double check to make sure this host is still up.
+ begin
+ qmf_host = @session.object(:class => 'node', 'hostname' => host_info['hostname'])
+ if !qmf_host
+ @logger.info "Host #{host_info['hostname']} is not up after waiting 20 seconds, skipping dead VM check."
+...