search for: storage_volum

Displaying 19 results from an estimated 19 matches for "storage_volum".

Did you mean: storage_volume
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
--- src/app/views/storage/_form.rhtml | 2 ++ src/app/views/storage/_list.rhtml | 4 ++++ src/app/views/storage/_list_volumes.rhtml | 4 ++++ src/app/views/storage/show.rhtml | 4 ++++ .../views/storage_volume/_new_volume_form.rhtml | 1 + src/app/views/storage_volume/show.rhtml | 8 ++++++++ 6 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/app/views/storage/_form.rhtml b/src/app/views/storage/_form.rhtml index ea2b0c4..1e7f22f 100644 --- a/src/app/views/storage/_f...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
--- src/app/views/storage/_form.rhtml | 2 ++ src/app/views/storage/_list.rhtml | 4 ++++ src/app/views/storage/_list_volumes.rhtml | 4 ++++ src/app/views/storage/show.rhtml | 4 ++++ .../views/storage_volume/_new_volume_form.rhtml | 1 + src/app/views/storage_volume/show.rhtml | 8 ++++++++ 6 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/app/views/storage/_form.rhtml b/src/app/views/storage/_form.rhtml index ea2b0c4..1e7f22f 100644 --- a/src/app/views/storage/_f...
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2010 Feb 25
1
[PATCH] fix storage problem.
...tic.rb | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index c0a56b8..7de725d 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -608,7 +608,7 @@ class TaskOmatic storage_volume.size = volume.capacity / 1024 storage_volume.storage_pool_id = db_pool.id storage_volume.write_attribute(storage_volume.volume_name, volume.name) - storage_volume.key = volume.key + storage_volume.key = volume.get_attr('key') storage_volume.lv_owner_perms = owner...
2009 Jul 13
1
[PATCH] Use volume key instead of path to identify volume.
...e, 'storagePool' => pool.object_id) raise "Unable to find volume #{volume_name} attached to pool #{pool.name}." unless volume @logger.debug "Verified volume of pool #{volume.path}" @@ -591,7 +591,7 @@ class TaskOmatic storage_volume.path = volume.path storage_volume.size = volume.capacity / 1024 storage_volume.storage_pool_id = db_pool.id - storage_volume.write_attribute(storage_volume.volume_name, volume.name) + storage_volume.write_attribute(storage_volume.volume_name, volume.key) storage_volume.lv_owne...
2009 Oct 08
3
[PATCH] fix storages crazyness
...eletions(-) diff --git a/app/models/vm.rb b/app/models/vm.rb index 88e0aef..0be3f89 100644 --- a/app/models/vm.rb +++ b/app/models/vm.rb @@ -27,7 +27,7 @@ class Vm < ActiveRecord::Base find(:all, :conditions=>{:state=>Task::STATE_QUEUED}) end end - has_and_belongs_to_many :storage_volumes + has_and_belongs_to_many :storage_volumes, :uniq => true has_many :nics, :dependent => :destroy -- 1.6.2.5
2009 May 20
1
[PATCH server] split StorageVolumeService.svc_new into two methods.
Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/storage_volume_controller.rb | 6 ++- src/app/services/storage_volume_service.rb | 60 ++++++++++++--------- 2 files changed, 39 insertions(+), 27 deletions(-) diff --git a/src/app/controllers/storage_volume_controller.rb b/src/app/controllers/storage_volume_controller.rb index b89513a..fb6bc9c 10064...
2011 Jul 20
2
how to add file-based disk space to a guest
hi there, I'm following these documentations to add a file-based disk volume to a KVM guest under Centos 6.0 : http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-Storage_Volumes.html as instructed, I created a "pool" then a "volume", file-based, e.g : mkdir /mnt/raid/kvm_pool1 virsh # pool-define-as pool1 dir - - - - "/mnt/raid/kvm_pool1" virsh # pool-autostart pool1 virsh # vol-create-as pool1 volume1 20G --allocation 15G --format qcow2...
2008 Mar 29
2
Big devices and missing space
...ello, I have a Promise EX 12-port RAID controller in my box, connected to 8 750GB disks. I have set up 2 RAID-5 devices and joined these using LVM. This is working fine. However, there is something that seems wrong.. (4-1) * 750 = 2250, but df reports the LVM volume as a mere 4.0T; /dev/mapper/storage_volume-stor 4.0T 3.6T 507G 88% /storage Shouldn't this be 4.5TB? Relevant bit of boot log: scsi4 : stex Vendor: Promise Model: 4 Disk RAID5 Rev: 1.10 Type: Direct-Access ANSI SCSI revision: 02 sdb : very big device. try to use READ CAPACITY(16). SCSI device...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...ise "Unable to find volume #{volume_name} attached to pool #{pool.name}." unless volume + @logger.debug "Verified volume of pool #{volume.path}" + storagedevs << volume.path end @@ -342,6 +357,8 @@ class TaskOmatic volumes = [] volumes += db_vm.storage_volumes volumes << image_volume if image_volume + + @logger.debug("Connecting volumes: #{volumes}") storagedevs = connect_storage_pools(node, volumes) # determine if vm has been assigned to physical or @@ -370,6 +387,8 @@ class TaskOmatic db_vm.memory_us...
2010 Sep 02
1
[PATCH 1/1] Introduce an option to always pxe-boot a vm.
...vice==BOOT_DEV_NETWORK + if boot_device==BOOT_DEV_NETWORK_ALWAYS + PXE_ALWAYS_OPTION_VALUE + elsif boot_device==BOOT_DEV_NETWORK PXE_OPTION_VALUE elsif boot_device==BOOT_DEV_HD HD_OPTION_VALUE @@ -464,7 +469,9 @@ class Vm < ActiveRecord::Base self.storage_volumes=@storage_volumes_pending @storage_volumes_pending = [] end - errors.add("nics", "must specify at least one network if pxe booting off a network") unless boot_device != BOOT_DEV_NETWORK || nics.size > 0 + #errors.add("nics", "must specify at...
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
...form.rhtml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/app/models/vm.rb b/src/app/models/vm.rb index 3e0a6fa..9d326ac 100644 --- a/src/app/models/vm.rb +++ b/src/app/models/vm.rb @@ -464,6 +464,8 @@ class Vm < ActiveRecord::Base self.storage_volumes=@storage_volumes_pending @storage_volumes_pending = [] end + errors.add("nics", "must specify at least one network if pxe booting off a network") unless boot_device == BOOT_DEV_NETWORK && nics.size > 0 + end end diff --git a/src/app/views/vm/_fo...
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...closed">Storage</div> + <div class="vm_form_section" style="display:none;"> <div class="field_title">Storage: </div> <div style="height:150px; overflow:auto; border:#CCCCCC solid 1px;"> <ul id="storage_volumes_tree" class="ovirt-tree"></ul> @@ -35,10 +44,11 @@ <!-- FIXME: fill in total here --> <div style="background:#F3F3F3; padding:6px; border-left:#CCCCCC solid 1px; border-right:#CCCCCC solid 1px; border-bottom:#CCCCCC solid 1px; ">Total:</d...
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...#39; # Re-raise errors caught by the controller. class StorageController; def rescue_action(e) raise e end; end -class StorageControllerTest < Test::Unit::TestCase +class StorageControllerTest < ActionController::TestCase fixtures :privileges, :roles, :permissions, :pools, :storage_volumes, :storage_pools diff --git a/src/test/functional/task_controller_test.rb b/src/test/functional/task_controller_test.rb index 3b90756..a2a6393 100644 --- a/src/test/functional/task_controller_test.rb +++ b/src/test/functional/task_controller_test.rb @@ -23,7 +23,7 @@ require 'task_controller...
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...physical volumes. - volumes = @session.objects(:class => 'volume', + volumes = @qmfc.objects(:class => 'volume', '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) -...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...ssigned to vms") + break + end + } + end + end diff --git a/src/app/models/vm.rb b/src/app/models/vm.rb index f445219..a5c95bd 100644 --- a/src/app/models/vm.rb +++ b/src/app/models/vm.rb @@ -29,7 +29,7 @@ class Vm < ActiveRecord::Base end has_and_belongs_to_many :storage_volumes - belongs_to :network + has_many :nics, :dependent => :destroy has_many :smart_pool_tags, :as => :tagged, :dependent => :destroy has_many :smart_pools, :through => :smart_pool_tags @@ -45,8 +45,8 @@ class Vm < ActiveRecord::Base validates_presence_of :uuid, :descri...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server