search for: libvirt_pool

Displaying 4 results from an estimated 4 matches for "libvirt_pool".

2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...atic.rb index da933bf..11d13cb 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -207,7 +207,7 @@ class TaskOmatic end @logger.debug "Verifying mount of pool #{db_pool.ip_addr}:#{db_pool.type}:#{db_pool.target}:#{db_pool.export_path}" - libvirt_pool = LibvirtPool.factory(db_pool) + libvirt_pool = LibvirtPool.factory(db_pool, @logger) libvirt_pool.connect(@session, node) # OK, the pool should be all set. The last thing we need to do is get @@ -631,7 +631,7 @@ class TaskOmatic begin @logger.info("refresh be...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...new(STDERR) end + #@logger.level = Logger::DEBUG if do_debug + # + # For now I'm going to always enable debugging until we do a real release. + @logger.level = Logger::DEBUG + ensure_credentials server, port = nil @@ -197,6 +206,7 @@ class TaskOmatic phys_libvirt_pool.connect(@session, node) end + @logger.debug "Verifying mount of pool #{db_pool.ip_addr}:#{db_pool.type}:#{db_pool.target}:#{db_pool.export_path}" libvirt_pool = LibvirtPool.factory(db_pool) libvirt_pool.connect(@session, node) @@ -205,10 +215,15 @@ class Task...
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.
...name) next unless node # So now we expect if the node was found it's alive and well, then @@ -205,12 +210,12 @@ class TaskOmatic # activate the underlying physical device, and then do the logical one if db_volume[:type] == "LvmStorageVolume" phys_libvirt_pool = get_libvirt_lvm_pool_from_volume(db_volume, @logger) - phys_libvirt_pool.connect(@session, node) + phys_libvirt_pool.connect(@qmfc, node) end @logger.debug "Verifying mount of pool #{db_pool.ip_addr}:#{db_pool.type}:#{db_pool.target}:#{db_pool.export_path}"...