Displaying 6 results from an estimated 6 matches for "qmfc".
Did you mean:
mfc
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.
...86ad71..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 => "domain"), 'uuid' => vm.uuid)
if qmf_vm
@logger.info "Deleting VM #{vm.description}."...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...ings.new
+ @settings.host = server
+ @settings.port = port
+# @settings.mechanism = 'GSSAPI'
+# @settings.service = 'qpidd'
+ @settings.sendUserId = false
+
+ @connection = Qmf::Connection.new(@settings)
+ @qmfc = Qmf::Console.new(self)
+ @broker = @qmfc.add_connection(@connection)
+ @broker.wait_for_stable
db_init_cleanup
rescue Exception => ex
@@ -101,10 +106,8 @@ class DbOmatic < Qpid::Qmf::Console
end
end
-
def ensure_credentials(...
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...m Matahari's 'next' branch, version 0.4.0.
ovirt-server depends on matahari version 0.0.5, which is currently latest in Fedora, and it is used during Node registration, to enumerate hardware information.
Usage extracted from src/host-browser/host-register.rb is as follows:
host_list = @qmfc.objects(:package => 'com.redhat.matahari.host', :class => 'Host')
host properties used:
object_id
object_id.agent_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 sim...
2010 Sep 01
1
[PATCH 2/2] Adding the ability to select a Host to start a VM [2/2]
...ass TaskOmatic
end
end
- if task.args
+ if task.args && !task.args.blank?
db_host = db_vm.vm_resource_pool.get_hardware_pool.hosts.find(task.args)
- else
- db_host = find_capable_host(db_vm)
end
+ db_host ||= find_capable_host(db_vm)
node = @qmfc.object(:class => "node", 'hostname' => db_host.hostname)
--
1.7.2.2
2009 Dec 02
0
Qmf::Query Hang in db-omatic
...he 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 every node,...
2010 Aug 26
1
[PATCH] Adding the ability to select a Host to start a VM
...l machine is currently paused, cannot start, must resume."
end
end
- db_host = find_capable_host(db_vm)
+
+ if task.args
+ db_host = db_vm.vm_resource_pool.get_hardware_pool.hosts.find(task.args)
+ else
+ db_host = find_capable_host(db_vm)
+ end
node = @qmfc.object(:class => "node", 'hostname' => db_host.hostname)
--
1.7.2.1