search for: qmf

Displaying 20 results from an estimated 92 matches for "qmf".

Did you mean: mf
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
This is the new ovirt agent that implements the QMF API. This is just its humble beginnings. The goal was to implement the create VM method on VMs but it turns out we need to specify the VM pool in order to do that. This is currently hardcoded to '5' and works locally but would likely not work elsewhere. What does work well is listing/que...
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.
This fix db-omatic that cannot recover the node on wich the vm run for example. We have not investigate far away but that can be due to a change on the ruby-qmf API. Signed-off-by: Michel Loiseleur <mloiseleur at linagora.com> --- src/db-omatic/db_omatic.rb | 10 ++++++---- src/libvirt-list.rb | 6 +++--- src/matahari-list.rb | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/...
2010 May 25
3
Supercedes previous patch...
The previous patch, for whatever reason, fails to apply on top of tip. This patch is reimplemented and, hopefully, fixed.
2010 Mar 16
0
[PATCH] Added the new Processors agent.
...files changed, 165 insertions(+), 11 deletions(-) create mode 100644 src/processors.cpp create mode 100644 src/processors.h diff --git a/src/Makefile.am b/src/Makefile.am index 8c94fba..ee30443 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,14 +5,16 @@ sbin_PROGRAMS = matahari first = qmf/com/redhat/matahari/Host.cpp generated_file_list = \ - qmf/com/redhat/matahari/CPU.cpp\ - qmf/com/redhat/matahari/NIC.cpp\ - qmf/com/redhat/matahari/Package.cpp\ - qmf/com/redhat/matahari/Host.h\ - qmf/com/redhat/matahari/CPU.h\ - qmf/com/redhat/matahari/NIC.h\ - qmf/com/redhat/matahari/Package....
2010 Mar 22
1
Small change and resend...
This patch includes one small change: the Processors::get_load_average() method is now const since it does not change the object's state.
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
This patch updates dbomatic, taskomatic and host-register to use the new C++ wrapped ruby QMF bindings. It also fixes a couple of bugs along the way including the 0 cpu bug for host-register. This is a compilation of work done by myself and Arjun Roy. Signed-off-by: Ian Main <imain at redhat.com> --- src/db-omatic/db_omatic.rb | 111 ++++++------- src/host-browser/host-reg...
2010 Mar 22
1
Resend with loadavg as a statistic...
After some feedback from Slow, mainly about the load_average API being a method rather than an ongoing statistic. So I've converted the code over to instead update the load average statistic on a regular basis.
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
...+- src/main.cpp | 3 -- src/platform.h | 18 +++++------- src/processors.cpp | 63 ------------------------------------------- src/processors.h | 46 ------------------------------- src/processorslistener.h | 29 ------------------- src/qmf/hostagent.cpp | 9 ++++++ src/qmf/hostagent.h | 1 + src/qmf/processorsagent.cpp | 49 --------------------------------- src/qmf/processorsagent.h | 50 ---------------------------------- src/schema.xml | 16 +++++------ 16 files changed, 64 insertions(+), 2...
2010 May 19
2
Squashed commits...
Refactoring the previous patch ended up creating two deltas. This patch pushes them both together into a single commit.
2010 Jun 01
0
Host-register crash
...Objects ===== ===== Done ===== ===== Current Objects ===== ===== Done ===== ===== Current Objects ===== ===== Done ===== ===== Current Objects ===== ===== Done ===== Exception caught in callback: Timed out waiting for response /usr/lib/ruby/site_ruby/1.8/qmf.rb:993:in `objects' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/site_ruby/1.8/qmf.rb:986:in `objects' /usr/share/ovirt-server/host-browser/host-register.rb:146:in `agent_added' /usr/lib/ruby/site_ruby/1.8/qmf.rb:1064:in `do_console_events' /usr/lib/ruby/site_...
2009 Jul 13
1
[PATCH: server] Added qmf matahari example to ovirt-server.
Just a quick script modeled after the libvirt-qpid example that dumps all connected ovirt-node hardware info to standard out, for debug purposes. --- src/qmf-matahari.example.rb | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) create mode 100644 src/qmf-matahari.example.rb diff --git a/src/qmf-matahari.example.rb b/src/qmf-matahari.example.rb new file mode 100644 index 0000000..0934ac9 --- /dev/null...
2009 Jul 21
1
[PATCH server] Fixed db-omatic so it doesn't segfault because of newer qmf api.
...ic/db_omatic.rb | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index 155ff5e..b5b7b81 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -270,10 +270,10 @@ class DbOmatic < Qpid::Qmf::Console end def object_props(broker, obj) - target = obj.klass_key[0] + target = obj.schema.klass_key.package return if target != "com.redhat.libvirt" - type = obj.klass_key[1] + type = obj.schema.klass_key.klass_name # I just...
2009 Jul 31
2
[PATCH server] Removed workaround for qmf bug that yielded 0 cpus and 0 nics for nodes from time to time.
...2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/host-browser/host-register.rb b/src/host-browser/host-register.rb index 57c11b7..06d8553 100755 --- a/src/host-browser/host-register.rb +++ b/src/host-browser/host-register.rb @@ -92,7 +92,7 @@ class HostRegister < Qpid::Qmf::Console end @logger.info "Connecting to amqp://#{server}:#{port}" - @session = Qpid::Qmf::Session.new(:console => self, :manage_connections => false) + @session = Qpid::Qmf::Session.new(:console => self, :manage_connections =>...
2009 Jul 15
1
[PATCH] Rename qmf-libvirt-example to libvirt-list.rb
This patch renames qmf-libvirt-example to libvirt-list and makes it not repeat. Useful for debugging. File mode is also now 755. Signed-off-by: Ian Main <imain at redhat.com> --- src/libvirt-list.rb | 65 +++++++++++++++++++++++++++++++++++++++ src/qmf-libvirt-example.rb | 72 ------------------------...
2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
This is the first step towards separating the APIs from the means by which they are carried between the remote and local system. Added a few new classes and types: * HostTransport - defines a type for talking to the Host * Host - the public contract for the host APIs * HostAgent - the QMF transport layer Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- .gitignore | 2 +- src/Makefile.am | 8 +++- src/host.cpp | 133 +++++++++++++++++++---------------------------- src/host.h | 62 ++++++++++++++-------- src/host_tra...
2012 Sep 20
0
CESA-2012:1269 Moderate CentOS 6 qpid Update
...following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 293df4e212d169d2c52478b2370a4836f6e9583c04397bf087edb7a2c306946c python-qpid-0.14-11.el6_3.noarch.rpm da4549ce7efea26c92b7df8e91188f561c5cd189a46ee497bce517ed34c11ef2 python-qpid-qmf-0.14-14.el6_3.i686.rpm c19ed1370e192a03712489857eff1fdbad8c7d5812fd7b4fed1156d0d211d57d qpid-cpp-client-0.14-22.el6_3.i686.rpm 187ad34dabd277e532218cb08d6d6d0746b3fe773c0462867b6a26c7f47c2d8c qpid-cpp-client-devel-0.14-22.el6_3.i686.rpm fcad512736d954705997f3390a672fdb1e362b93e078a23a227e0ff7e52c...
2012 May 01
0
CEEA-2012:0530 CentOS 6 qpid Update
...e following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 53da93638561a35a13a8f47db761d728b2b850b11eccd729c8d071289883d244 python-qpid-0.14-7.el6_2.noarch.rpm cf1ef0b9e96f5ea033858e804f0ed49b44d68a6ea740af6d9314aaebd206d998 python-qpid-qmf-0.14-7.el6_2.i686.rpm 1408dc44390e8f1f41b45166a776433667cd1b189149a6d635ceea83da7095fa qpid-cpp-client-0.14-14.el6_2.i686.rpm ec7456d34af6183054184741dbd0dff10e4470f283489c0f3761d9a524ec8d14 qpid-cpp-client-devel-0.14-14.el6_2.i686.rpm e33620b7a96bbaa9a8b5b94f1d169ec79e91cbdf343ddf463ce8ad2768fe2...
2009 Dec 02
0
Qmf::Query Hang in db-omatic
Hi all, We use for preproduction purpose the next branche of oVirt. We notice that a lot of bugs appears 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']) T...
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
...+++++++++++++++++++++------------- 1 files changed, 60 insertions(+), 25 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index b3d5e73..1091333 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -113,6 +113,15 @@ class DbOmatic < Qpid::Qmf::Console end end + def set_vm_stopped(db_vm) + db_vm.host_id = nil + db_vm.memory_used = nil + db_vm.num_vcpus_used = nil + db_vm.needs_restart = nil + db_vm.vnc_port = nil + db_vm.state = Vm::STATE_STOPPED + end + def update_doma...
2012 Sep 20
0
CentOS-announce Digest, Vol 91, Issue 14
...following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 293df4e212d169d2c52478b2370a4836f6e9583c04397bf087edb7a2c306946c python-qpid-0.14-11.el6_3.noarch.rpm da4549ce7efea26c92b7df8e91188f561c5cd189a46ee497bce517ed34c11ef2 python-qpid-qmf-0.14-14.el6_3.i686.rpm c19ed1370e192a03712489857eff1fdbad8c7d5812fd7b4fed1156d0d211d57d qpid-cpp-client-0.14-22.el6_3.i686.rpm 187ad34dabd277e532218cb08d6d6d0746b3fe773c0462867b6a26c7f47c2d8c qpid-cpp-client-devel-0.14-22.el6_3.i686.rpm fcad512736d954705997f3390a672fdb1e362b93e078a23a227e0ff7e52c...