search for: volume_key

Displaying 3 results from an estimated 3 matches for "volume_key".

Did you mean: value_key
2009 Sep 24
0
[PATCH server] Make volume finding more robust.
...askomatic.rb b/src/task-omatic/taskomatic.rb index 96b2ec4..ece60dc 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -223,7 +223,13 @@ class TaskOmatic volume = @session.object(:class => 'volume', 'key' => volume_key, 'storagePool' => pool.object_id) - raise "Unable to find volume #{volume_key} attached to pool #{pool.name}." unless volume + if volume == nil + @logger.info "Unable to find volume by key #{volume_key} attached to pool #{po...
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
This patch teaches taskomatic to use the volume 'key' instead of the path from libvirt to key the volume off of in the database. This fixes the duplicate iscsi volume bug we were seeing. The issue was that libvirt changed the way they name 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
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...@@ -220,12 +225,12 @@ class TaskOmatic @logger.debug "Pool mounted: #{pool.name}; state: #{pool.state}" - volume = @session.object(:class => 'volume', + volume = @qmfc.object(:class => 'volume', 'key' => volume_key, 'storagePool' => pool.object_id) if volume == nil @logger.info "Unable to find volume by key #{volume_key} attached to pool #{pool.name}, trying by filename..." - volume = @session.object(:class => 'volume', +...