search for: storage_pool

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

2009 May 20
1
[PATCH server] split StorageVolumeService.svc_new into two methods.
...ume_controller.rb index b89513a..fb6bc9c 100644 --- a/src/app/controllers/storage_volume_controller.rb +++ b/src/app/controllers/storage_volume_controller.rb @@ -21,7 +21,11 @@ class StorageVolumeController < ApplicationController include StorageVolumeService def new - svc_new(params[:storage_pool_id], params[:source_volume_id]) + if params[:storage_pool_id] + svc_new(params[:storage_pool_id]) + else + svc_new_lv(params[:source_volume_id]) + end @return_to_workflow = params[:return_to_workflow] || false render :layout => 'popup' end diff --git a/src...
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
...tions(+), 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/_form.rhtml +++ b/src/app/views/storage/_form.rhtml @@ -12,6 +12,8 @@ <%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %> +<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %> + <!--[eoform:storage_pool]--...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
...tions(+), 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/_form.rhtml +++ b/src/app/views/storage/_form.rhtml @@ -12,6 +12,8 @@ <%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %> +<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %> + <!--[eoform:storage_pool]--...
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.
2009 May 20
1
[PATCH server] don't add nil key to failures hash for PartialSuccessError handling.
.../storage_controller.rb b/src/app/controllers/storage_controller.rb index dac2a6b..9a91288 100644 --- a/src/app/controllers/storage_controller.rb +++ b/src/app/controllers/storage_controller.rb @@ -135,10 +135,10 @@ class StorageController < ApplicationController begin svc_destroy(storage_pool_id) successes << @storage_pool - rescue PermissionError => perm_error - failures[@storage_pool] = perm_error.message + # PermissionError expected rescue Exception => ex - failures[@storage_pool] = ex.message + failures[@storage_pool.nil? ?...
2013 Dec 18
3
Connect libvirt to iSCSI target
...em info: Debian sid, Linux 3.11-2-amd64 libvirtd (libvirt) 1.1.4 virsh version: 1.1.4 iSCSI target: FreeNAS-9.1.1 Best regards Marco ¹ https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/chap-Virtualization_Administration_Guide-Storage_Pools-Storage_Pools.html#sect-Virtualization-Storage_Pools-Creating-iSCSI
2013 Dec 21
0
Re: Connect libvirt to iSCSI target
...version: 1.1.4 What's your QEMU version? > > iSCSI target: FreeNAS-9.1.1 > > > Best regards > Marco > > ¹ https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/chap-Virtualization_Administration_Guide-Storage_Pools-Storage_Pools.html#sect-Virtualization-Storage_Pools-Creating-iSCSI > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >
2015 Dec 02
1
create a directory storage pool in a random location
Hi all, I am trying to figure out if you can store the definition of a directory storage pool in a custom location. This is how I create the storage pool: xmlDesc = """ <pool type='dir'> <name>guest_images_storage_pool</name> <uuid>8c79f996-cb2a-d24d-9822-ac7547ab2d01</uuid> <capacity unit='bytes'>4306780815</capacity> <allocation unit='bytes'>237457858</allocation> <available unit='bytes'>4069322956</available> <source> &lt...
2016 Feb 19
2
problem cloning storage pool volume
I'm trying to clone a volume in a storage pool and I'm following the steps described here: http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html My code looks like: destXML = """ <volume> <name>"""+newDiskName+""".qcow2</name> <target> <path>/jffs2/disk0/"""+poolName+'/'+newDiskName+&quo...
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
...'json' + ); + return false; +}); </script> diff --git a/src/config/routes.rb b/src/config/routes.rb index 795f022..70fe614 100644 --- a/src/config/routes.rb +++ b/src/config/routes.rb @@ -58,4 +58,5 @@ ActionController::Routing::Routes.draw do |map| hardware_pools.resources :storage_pools, :controller => 'storage' end map.resources :vms, :controller => 'vm' + map.resources :usages, :only => [ :create ], :collection => { :remove => :delete } end diff --git a/src/public/stylesheets/components.css b/src/public/stylesheets/components.css index 70c...
2016 Feb 19
2
Re: problem cloning storage pool volume
...at 11:12:32AM +0000, Andrei Perietanu wrote: > >> I'm trying to clone a volume in a storage pool and I'm following the steps >> described here: >> >> http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html >> >> My code looks like: >> >> destXML = """ >> <volume> >> <name>"""+newDiskName+""".qcow2</name> >> <target> >> >> <pat...
2009 May 18
0
[PATCH server] fixed functional tests after recent controller refactoring and managed node controller fixes.
...x 66326d9..fcf0293 100644 --- a/src/test/functional/storage_controller_test.rb +++ b/src/test/functional/storage_controller_test.rb @@ -67,7 +67,7 @@ class StorageControllerTest < Test::Unit::TestCase assert_response :success assert_template 'new' - assert_not_nil assigns(:storage_pools) + assert_not_nil assigns(:storage_types) end def test_create_storage_controller @@ -107,7 +107,7 @@ class StorageControllerTest < Test::Unit::TestCase xml_http_request :post, :destroy, :id => storage_pools(:corp_com_dev_nfs_ovirtnfs).id, :format => "json" a...
2011 Oct 05
0
Need help debugging virtio net issue
This is what I use for creating the VM sudo virt-install -n myvm -r 2048 --vcpus=1 --accelerate -v -w bridge:br0,model=virtio --nographics -m 54:52:00:01:bb:8d --disk path=/storage_pool/myvm.raw,size=20,bus=virtio --pxe It used to work fine, but now it get stuck trying to do pxeboot/kickstart. Here's what I see when trying to debug the pxeboot/kickstart process: * Querying DHCP server for IP address went through fine * vmlinuz.CentOS5-5.5-x86_64 was downloaded successfully *...
2016 Feb 19
0
Re: problem cloning storage pool volume
On Fri, Feb 19, 2016 at 11:12:32AM +0000, Andrei Perietanu wrote: >I'm trying to clone a volume in a storage pool and I'm following the steps >described here: >http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html > >My code looks like: > > destXML = """ > <volume> > <name>"""+newDiskName+""".qcow2</name> > <target> > ><path>/jffs2/disk0/"""+p...
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
...rrors 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' # Re-raise...
2016 Feb 22
0
Re: problem cloning storage pool volume
..., Andrei Perietanu wrote: >> >>> I'm trying to clone a volume in a storage pool and I'm following the steps >>> described here: >>> >>> http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html >>> >>> My code looks like: >>> >>> destXML = """ >>> <volume> >>> <name>"""+newDiskName+""".qcow2</name> >>> <target&g...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...a/src/task-omatic/utils.rb +++ /dev/null @@ -1,221 +0,0 @@ -require 'rexml/document' -include REXML - -def String.random_alphanumeric(size=16) - s = "" - size.times { s << (i = Kernel.rand(62); i += ((i < 10) ? 48 : ((i < 36) ? 55 : 61 ))).chr } - s -end - -def all_storage_pools(conn) - all_pools = conn.list_defined_storage_pools - all_pools.concat(conn.list_storage_pools) - return all_pools -end - -def get_libvirt_lvm_pool_from_volume(db_volume) - phys_volume = StorageVolume.find(:first, :conditions => - [ "lvm_pool_id = ?&qu...
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
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...Create a new transient NFS storage volume # This volume is *not* persisted. - image_volume = StorageVolume.factory("NFS", :filename => filename) + image_volume = StorageVolume.factory("NFS", :filename => filename, :key => filename) image_volume.storage_pool image_pool = StoragePool.factory(StoragePool::NFS) @@ -116,13 +116,14 @@ class LibvirtPool @xml.root.elements["target"].add_element("path") end - def connect(session, node) - pools = session.objects(:class => 'pool', 'node' => node.obje...