Displaying 20 results from an estimated 2000 matches similar to: "Host-register crash"
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 ++++++-------
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
2009 Jul 08
1
[PATCH: host-browser replacement 0/3] replacement of host-browser on ovirt-server
The purpose of this patch is to replace the identify function in
host-browser.rb with a new script, host-register.rb.
host-register.rb is a qmf ruby console that interfaces with the newly
added matahari qmf agent on the ovirt node. While it stores node data
in the database with the same behavior as the original host-browser
implementation, it acquires the data using the amqp protocol (and
2010 Mar 16
0
[PATCH] Added the new Processors agent.
The Processors agent reports details regarding the processing power for
the managed node.
Defined the agent within schema.xml. Wrote the wrapper code to create
and populate an instance of the agent.
The properties for the Processors agent have also been trimmed back to
what is readily available via HAL.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/Makefile.am | 26
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
Created a new class to represent network interface devices, named
NetworkDeviceAgent.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/Makefile.am | 9 +-
src/host.cpp | 26 +++--
src/host.h | 4 +-
src/linux_platform.cpp | 70 +++++++++++
src/linux_platform.h | 4 +
src/networkdevice.cpp | 49 ++++++++
src/networkdevice.h |
2010 May 24
0
[PATCH matahari] Moves the CPU properties into the Host API space.
There was no valid reason to keep this set of APIs in their own agent
and class, so those have been eliminated.
A new HostListener method, HostListener::updated(), was added. It is via
this method that the Host will notify all transports that the load
average statistic is updated on the host.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/Makefile.am | 11
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
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
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 :
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 --------------------------------------------
2 files changed, 65 insertions(+), 72 deletions(-)
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
This class has been replaced by the ProcessorsAgent.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
src/Makefile.am | 4 -
src/cpu.cpp | 216 -------------------------------------------------------
src/cpu.h | 111 ----------------------------
src/host.cpp | 24 ------
src/host.h | 3 -
src/schema.xml | 16 ----
6 files changed, 0 insertions(+),
2009 Jul 08
1
[PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent
The purpose of this patch is to add support for the matahari qmf agent
package (http://git.et.redhat.com/?p=matahari.git;a=summary) to the node.
The following actions are taken:
1. Deprecate ovirt-identify-node and ovirt-listen-awake by removing
them from the autotools scripts, the rpm spec and the node startup scripts.
2. Remove ovirt-listen-awake and ovirt-identify-node completely.
3. Add
2009 Oct 09
0
ovirt install : several issues
I installed ovirt-agent on a fresh fedora 11 install (not in a virtual machine). The only thing I modified prior to installation was /etc/resolv.conf in order to be able to yum update and install the ovirt packages via yum (from the ovirt repo), and /etc/ntp.conf to get the correct time from the NTP server of my network. I also disabled NetworkManager via chkconfig.
I used all the options for
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
This patch changes no functionality. It merely adds items to the ignore
file, cleans up the formatting for source files and updates the prologs
for files to include the name of the file being licensed.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
.gitignore | 12 +++++++++++
AUTHORS | 3 +-
ChangeLog | 1 -
INSTALL | 1 -
Makefile.am
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/querying of existing VMs.
There is still lots of
2009 Jul 08
2
[PATCH: ovirt-identify-node replacement 0/1] Node Image Patch
The purpose of this patch is to add the matahari qmf agent package
(http://git.et.redhat.com/?p=matahari.git;a=summary) to the node image.
Matahari is a qmf agent that publishes hardware information to an amqp
broker, replacing functionality from ovirt-identify-node. However, since
the capability is not ovirt specific, the agent is maintained as a separate
project (see link above).
Dependencies
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
Hi all,
I looked at patching oVirt Server to work with the latest Matahari schema, from 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 =
2010 Apr 19
1
[PATCH matahari] Replaces the existing HAL code for ProcessorAgent with udev.
Stripped out the HAL support code and replaced with calls to udev. The
remainder of the code to extract CPU details parses through the
/proc/cpuinfo file since udev/sysfs will not return such information.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
configure.ac | 3 +-
src/Makefile.am | 4 +-
src/processors.cpp | 94
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
This sets up ovirt-agent to start as a daemon along with dbomatic,
taskomatic etc. While this is not ready for prime time I think it
should be ok as you still require a valid, authenticated, connection
to qpidd to access it.
Signed-off-by: Ian Main <imain at redhat.com>
---
installer/modules/ovirt/manifests/ovirt.pp | 6 +++
ovirt-server.spec.in | 5 ++
2009 Jun 25
3
error with gssapi
Hello
I found on ovirt.org instruction for set unavailable(enable) to
available(enable)
i run "ruby /usr/share/ovirt-server/qmf-libvirt-example.rb"
and get
Error caching credentials; attempting to continue...
Connecting to amqp://main.forex-24h.com:5672..
/usr/lib/ruby/site_ruby/1.8/qpid/delegates.rb:209:in
`connection_start'/usr/lib/ruby/site_ruby/1.8/qpid/delegates.rb:209: