Displaying 20 results from an estimated 1000 matches similar to: "loading custom type"
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 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 ++
2006 Aug 19
3
Special ruby language for describing sql conditions
I was brainstorming today about a smooth way to define conditions in an
sql query, when the numbers of attributes increase, so does the uglyness.
So instead of passing a hash, I thought you could specify the conditions
directly in code.
I hacked together some example code which actually turned out to work.
The result is concise and pretty beutiful.
def search(params)
Ad.find(:all) do
2009 May 26
0
[PATCH node] Remove --gssapi option to libvirt-qpid
libvirt-qpid will use GSSAPI even if this flag is not specified, and
it seems that the new qpidc does not allow the 'GSSAPI' string to be
an option anymore, causing connection to fail.
Signed-off-by: Ian Main <imain at redhat.com>
---
scripts/ovirt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 8296783..000afa1 100755
2009 May 29
1
[PATCH server] Make taskomatic not do tasks if not connected to qpidd.
This patch just checks the broker to see if it's connected before
attempting to implement tasks.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/taskomatic.rb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb
index 5393c29..71432d2 100755
--- a/src/task-omatic/taskomatic.rb
+++
2006 Dec 01
1
Packages build for Solaris ? As CSW packages ?
Well imitation is the highest form of flattery they say. So I''m surprised
to see these packages neatly built to install into /opt/csw correctly and
yet they exist somewhere else and have nothing to do with us here at
Blastwave.
fascinating.
I guess we can always send an email to the person doing this and just ask if
they want those packages in testing and then into the catalog for
2004 Feb 10
0
Daemon help
I''m having some trouble separating the Daemon class stuff from the
Service Control stuff. I have a "daemon.rb" file in ''C:\''. I also have
a daemonctrl.rb script in another directory. It installs fine, but I
can never start it successfully. What am I doing wrong?
Dan
# daemon.rb in ''C:\''
require "win32/service"
include Win32
2005 May 14
4
Problems with custom service and webrick
Hi all,
Windows XP Pro
Ruby 1.8.2
I''m having a couple of problems with the following
service. The first issue is that the code in
service_start doesn''t seem to fire off. The second
problem is that any attempt to do ''require "webrick"''
within webrick_daemon.rb causes the service to fail on
start.
Any ideas?
# webrickctl.rb
2009 Jul 07
1
[PATCH] Let ovirt-test use DNS SRV to get qpidd server.
This patch teaches ovirt-test to use the usual DNS SRV records to
connect to qpidd so we don't have to enter the server etc. on the
command line.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/ovirt-agent/ovirt-test.rb | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/ovirt-agent/ovirt-test.rb b/src/ovirt-agent/ovirt-test.rb
index
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 Sep 30
1
Few question about fresh install Ovirt
Hi!
I have problems with running ovirt on fresh Fedora 11 server.
After running this command
/etc/init.d/libvirt-qpid start
/var/log/messages
Sep 30 16:36:40 management libvirtd: 16:36:40.425: error : this
function is not supported by the hypervisor: virConnectGetHostname
Sep 30 16:36:40 management libvirt-qpid: Error: virConnectGetHostname
Subsystem none: this function is not supported by
2006 Aug 25
4
using conditions
Hello guys,
I''m pretty new to using AAF and am having a slight problem with using a
condition. I have the following code
@results = SupplierProduct.find_by_contents(params[:search], :conditions
=> [''area_id = ?'', @area])
and it seems the condition isn''t being applied. Does anyone have any
pointers?
Cheers,
Alastair
--
Posted via
2010 Jun 01
0
Host-register crash
I found that ovirt-host-register crashes very quickly and my node was unable
to register.
This is the trace when I launch it in debug and no daemon mode :
================================================================================
/usr/share/ovirt-server/host-browser/host-register.rb -d -n
/usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning:
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(-)
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
Hi there,
Other auth modules (eg passwd-file) allow a username_format to be
specified, but not the PAM module.
The use-case, is where I want a static userdb configuration which takes the
domain into account but still want to use PAM for authentication, eg:
userdb {
driver = static
args = uid=8 gid=12 home=/mnt/storage/mail/vhosts/%d/%n
}
passdb {
driver = pam
args = username_format=%n
2013 May 09
1
equivalent way to iterate through a hash
If I have something like this in my node file:
daemontools_service::setup {
''carbon-cache'':
service_name => ''carbon-cache'',
....
extra_envs => {
"GRAPHITE_STORAGE_DIR" => "/mnt/statsd-data/graphite-storage"
"SOMETHING_ELSE" =>
2006 Aug 10
5
RJS in Internet Explorer to update a list box
Hi,
I''m trying some RJS to update a series of list boxes in which the user
selects a state, and the following list gets updated with a list of
counties, and the same for the next list of areas.
My code works perfectly (albeit a bit slow) on Firefox, but on Internet
Explorer it clears the list box (instead of filling it) and Netscape
shows all the counties cramped together on one
2007 Nov 03
2
Service.services bug (pure Ruby version)
Hi all,
I''ve hit a curious bug in the Service.services method. This is in the
pure Ruby version in CVS. Check it out and run this snippet:
Service.services{ |s|
p s.service_name
p s.display_name
}
That will segfault after about 14 entries for me. It appears to be a
problem with memcpy on line 658, but I couldn''t tell you why.
The interesting thing is that the more I
2009 Aug 11
0
[PATCH server] Added support for remote logging with rsyslog-gssapi to server.
Nodes will use rsyslog to forward their logs to the server in
/var/log/remote.
---
installer/modules/ovirt/files/rsyslog.conf | 65 ++++++++++++++++++++
installer/modules/ovirt/manifests/ovirt.pp | 26 ++++++++
.../modules/ovirt/templates/ovirt-dns.conf.erb | 1 +
ovirt-server.spec.in | 3 +
scripts/ovirt-rsyslog-kerbsetup
2009 Jul 31
1
problem with kerberos (I think)
Hi all,
I've got some problems to make work oVirt.
I've installed a Fedora 10 VM the lightest possible (nothing checked, even based) and installed after some packages (wget, sudo, acpid,...) and updated the system.
By the way, acpid should be a dependency of ovirt-installer because the installation fails if it's not available.
I've then installed ovirt (ovirt-server-installer