search for: add_volume_to_db

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

2010 Feb 25
1
[PATCH] fix storage problem.
...isting_vol}, searched for storage volume key and #{volume.key}" + puts "Existing volume is #{existing_vol}, searched for storage volume key and #{volume.get_attr('key')}" # Only add if it's not already there. if not existing_vol add_volume_to_db(db_pool_phys, volume); else - @logger.debug "Scanned volume #{volume.key} already exists in db.." + @logger.debug "Scanned volume #{volume.get_attr('key')} already exists in db.." end # Now check for an LVM pool ca...
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
...ool_phys.id, volume.name]) + db_pool_phys.id, volume.key]) + puts "Existing volume is #{existing_vol}, searched for storage volume name and #{volume.key}" # Only add if it's not already there. if not existing_vol add_volume_to_db(db_pool_phys, volume); else - @logger.debug "Scanned volume #{volume.name} already exists in db.." + @logger.debug "Scanned volume #{volume.key} already exists in db.." end # Now check for an LVM pool carving up this volum...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
..."Couldn't undefine old vm after migrate (probably fine): #{result.text}" unless result.status == 0 # See if we can take down storage pools on the src host. teardown_storage_pools(src_node) @@ -631,7 +651,7 @@ class TaskOmatic if not existing_vol add_volume_to_db(db_pool_phys, volume); else - @logger.error "volume #{volume.name} already exists in db.." + @logger.info "Scanned volume #{volume.name} already exists in db.." end # Now check for an LVM pool carving up this volume. -- 1...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...(db_pool_phys) + phys_libvirt_pool = LibvirtPool.factory(db_pool_phys, @logger) phys_libvirt_pool.connect(@session, node) db_pool_phys.state = StoragePool::STATE_AVAILABLE db_pool_phys.save! @@ -651,14 +651,14 @@ class TaskOmatic if not existing_vol add_volume_to_db(db_pool_phys, volume); else - @logger.info "Scanned volume #{volume.name} already exists in db.." + @logger.debug "Scanned volume #{volume.name} already exists in db.." end # Now check for an LVM pool carving up this volum...