search for: lvm_db_pool

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

2010 Feb 25
1
[PATCH] fix storage problem.
...in db.." + @logger.debug "Scanned volume #{volume.get_attr('key')} already exists in db.." end # Now check for an LVM pool carving up this volume. @@ -710,11 +710,11 @@ class TaskOmatic lvm_storage_volume = StorageVolume.factory(lvm_db_pool.get_type_label) existing_vol = StorageVolume.find(:first, :conditions => ["storage_pool_id = ? AND key = ?", - lvm_db_pool.id, lvm_volume.key]) + lvm_db_pool.id, lvm_volume.get_attr(...
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
...ame} already exists in db.." + @logger.debug "Scanned volume #{volume.key} already exists in db.." end # Now check for an LVM pool carving up this volume. @@ -692,11 +693,11 @@ class TaskOmatic lvm_storage_volume = StorageVolume.factory(lvm_db_pool.get_type_label) existing_vol = StorageVolume.find(:first, :conditions => ["storage_pool_id = ? AND #{lvm_storage_volume.volume_name} = ?", - lvm_db_pool.id, lvm_volume.name]) + lvm_db_...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...an LVM pool carving up this volume. lvm_name = volume.childLVMName next if lvm_name == '' - @logger.info "Child LVM exists for this volume - #{lvm_name}" + @logger.debug "Child LVM exists for this volume - #{lvm_name}" lvm_db_pool = LvmStoragePool.find(:first, :conditions => [ "vg_name = ?", lvm_name ]) if lvm_db_pool == nil @@ -683,7 +683,7 @@ class TaskOmatic physical_vol.lvm_pool_id = lvm_db_pool.id physical_vol.save! - lvm...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...#39;storagePool' => phys_libvirt_pool.remote_pool.object_id) volumes.each do |volume| storage_volume = StorageVolume.factory(db_pool_phys.get_type_label) @@ -696,9 +701,9 @@ class TaskOmatic physical_vol.save! lvm_libvirt_pool = LibvirtPool.factory(lvm_db_pool, @logger) - lvm_libvirt_pool.connect(@session, node) + lvm_libvirt_pool.connect(@qmfc, node) - lvm_volumes = @session.objects(:class => 'volume', + lvm_volumes = @qmfc.objects(:class => 'volume', 'st...