search for: imain

Displaying 20 results from an estimated 25 matches for "imain".

Did you mean: main
2009 May 29
1
[PATCH server] Don't set VM state to shut down in task.
...es taskomatic so it only sets the VM to shutdown if the undefine succeeds. Otherwise it's possible a shutdown event could not succeed, or take a while as it often does, giving confusing messages to the user. Basically we're just letting dbomatic handle it now. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 11d13cb..5393c29 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -286,7...
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 +++ b/src/task-omatic/taskomatic.rb @@...
2009 May 29
1
[PATCH server] Also print reconnect message in log.
It seems people were getting confused by the message that taskomatic was disconnected and not logging a reconnect message. This patch makes it log on reconnect as well. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 71432d2..1b4d83b 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.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 71f9a9f..412a8ee 100755 --- a/src/ovirt-agent/ovirt-test.rb +++ b/src/ovirt-agent/ovirt-test.rb @@...
2009 Sep 24
0
[PATCH server] Make volume finding more robust.
From: Ian Main <imain at management.mains.priv> This patch makes finding of volumes within attached pools more rubust by looking for the filename if it fails to find it by key. This fixes the volume finding for cobbler iso images mounted on nfs. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-oma...
2009 Jun 25
2
[PATCH] Fix dbomatic state changes.
This patch fixes state changes in dbomatic so that there is no intermediate 'stopped' state after being unreachable or on startup of dbomatic etc. Also fixes a number of smaller bugs around host associations, state changes, etc. Signed-off-by: Ian Main <imain at redhat.com> --- src/db-omatic/db_omatic.rb | 85 +++++++++++++++++++++++++++++++------------- 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...
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
...ame storage volumes and included a local ID that changed each time it was attached. Note that the first run with this new patch will cause duplicate volumes because of the key change. Ideally you would delete all storage pools and readd them after applying this patch. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index b3c0592..6c68397 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic....
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(-) create mode 100755 src/libvirt-list.rb delete mode 100644 src/qmf-li...
2008 Nov 07
1
For Loop - loading 10 sets of data and calculating
...sum(Bin$i_Acres) #Creates data frame of cumlative percentages of each parcel of bin Bin$i_cumper=cumsum(Bin$i_Acres/Bin$iAcres_sum) #Calculates the probability of choosing particular parcel from bin Bin$i_parprob=abs(1-Bin$i_cumper) #Combines parcel acreage data and cumlative percentage data Bin$iMain.data = cbind(Bin%i_Acres,Bin$i_parprob,Bin$i_TAZ,Bin$i_TAZvacant) } -- View this message in context: http://www.nabble.com/For-Loop---loading-10-sets-of-data-and-calculating-tp20386673p20386673.html Sent from the R help mailing list archive at Nabble.com.
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 ++ src/ovirt-agent/ovirt-agent.rb | 63 +++++++++++++++++++++------- 3 files changed, 58 insertions(+), 16 deletions(-) diff --git a/installer/modules/ovir...
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 --- a/scripts/ovirt +++ b/scripts/ovirt @@ -63,7 +63,7 @@ start() { if [ -n "$SRV_HOST" -a -n "$SRV_PORT&quo...
2009 May 28
1
[PATCH node] Temporarily disable security driver.
I've uploaded a new libvirtd based on the latest release into F12 but it requires a selinux config which we do not have on the node. This is a temporary hack to make it work until we go to an F11 node. Must remember to remove this for F11!! Signed-off-by: Ian Main <imain at redhat.com> --- scripts/ovirt-functions | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index 25a6bab..a1ee4ac 100755 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -188,6 +188,11 @@ ovirt_setup_li...
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
...unique for each storage type. This also uses the new :timeout keyword argument for various operations that could take a while. This should fix the 'seq' timeout problem we've been seeing. This requires the latest ruby-qpid which is now in the ovirt repo. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/task_storage.rb | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb index a2188d7..4961b83 100644 --- a/src/task-omatic/task_storage.rb +++ b/src/task-omatic/...
2009 Jun 25
0
[PATCH] Extend timeouts on libvirt calls.
This patch increases the timeout value on taskomatic calls so that we get back the real libvirt errors instead of just having qmf timeout. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/task_storage.rb | 6 +++--- src/task-omatic/taskomatic.rb | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb index 77363ac..8165818 100644 --- a/src/task-omat...
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-register.rb | 337 ++++++++++++++++++++----------------- src/libvirt-list.rb | 31 +++-- src/matahari-list.rb | 33 +++-- src/task-omatic/task_storage.rb | 10 +-...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
This patch uses the qpid migration call which requires the latest libvirt-qpid and libvirt. I also add a bunch of debug logging here which is switchable but I've left it on for now so all users will have this in their logs. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 22c3599..da933bf 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
This patch adds more debug calling in storage related tasks. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/task_storage.rb | 29 ++++++++++++++++++----------- src/task-omatic/taskomatic.rb | 18 +++++++++--------- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb index cdc0043..b...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
Somehow I missed this.. this file is no longer in use by taskomatic. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/utils.rb | 221 ---------------------------------------------- 1 files changed, 0 insertions(+), 221 deletions(-) delete mode 100644 src/task-omatic/utils.rb diff --git a/src/task-omatic/utils.rb b/src/task-omatic/utils.rb deleted file mode 100644 index e30...
2009 Jul 23
0
[PATCH server] Add network QMF apis.
From: Scott Seago <sseago at redhat.com> This adds some of the network API stuff to ovirt-agent. It's still not complete but what is there is functional. Signed-off-by: Ian Main <imain at redhat.com> --- src/ovirt-agent/lib/ovirt.rb | 3 + .../ovirt/controllers/hardwarepool_controller.rb | 2 +- .../lib/ovirt/controllers/network_controller.rb | 30 +++++++++++++++ .../lib/ovirt/controllers/ovirt_controller.rb | 25 ++++++++++++ .../ph...
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...ell is listing/querying of existing VMs. There is still lots of work to do here, this is just so that we have a common place to work on going forward. One of the first things to do is to split out the Ovirt and VmDef classes into seperate files and implement VM pools. Signed-off-by: Ian Main <imain at redhat.com> --- src/ovirt-agent/ovirt-agent.rb | 314 ++++++++++++++++++++++++++++++++++++++++ src/ovirt-agent/ovirt-test.rb | 40 +++++ 2 files changed, 354 insertions(+), 0 deletions(-) create mode 100755 src/ovirt-agent/ovirt-agent.rb create mode 100755 src/ovirt-agent/ovirt-test.rb...