[Openstack] flavor disk io limits with cinder volumes not supported ?

Pavel Stano stano at websupport.sk
Wed Jul 16 15:23:36 UTC 2014


Hi,

i am trying to set io limits for VM with:
nova flavor-key lb_proxy set quota:disk_total_bytes_sec=1024
nova flavor-key lb_proxy set quota:disk_total_iops_sec=20

but when i check virsh dumpxml instance-id, it shows it is only set for
device='cdrom' (thats --config-drive), but no <iotune>...</iotune> is
set for cinder volume <disk device='disk'>..</disk>.
I am missing something or cinder volumes has no support for io limits ?

(testing) root at test-osmng:~# nova flavor-show lb_proxy |grep
extra_specs 
| extra_specs | {"quota:disk_total_iops_sec": "20",
"quota:disk_total_bytes_sec": "1024"} |


(testing) root at test-compute1:~# virsh dumpxml instance-00000003|sed -n
'/<disk/,/<\/disk>/p'

<disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source
file='/var/lib/nova/mnt/21ada25d651c70702b9ecb8d530f188a/volume-63dddedb-f9b1-4b09-9005-a9183184fdef'/>
<target dev='vda' bus='virtio'/>
<serial>63dddedb-f9b1-4b09-9005-a9183184fdef</serial> <alias
name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00'
slot='0x06' function='0x0'/> </disk>

<disk type='file' device='cdrom'>
      <driver name='qemu' type='raw' cache='none'/>
      <source
file='/mnt/instances/73cf44d4-66b3-4610-85ca-10dacb0f888c/disk.config'/>
<target dev='hdd' bus='ide'/> <iotune>
        <total_bytes_sec>1024</total_bytes_sec>
        <total_iops_sec>20</total_iops_sec>
      </iotune>
      <readonly/>
      <alias name='ide0-1-1'/>
      <address type='drive' controller='0' bus='1' target='0' unit='1'/>
    </disk>

-- 
[ Ohodnotte kvalitu mailu: http://nicereply.com/websupport/Stano/ ]

Pavel Stano | Troubleshooter

http://WebSupport.sk
*** BERTE A VYCHUTNAVAJTE ***

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140716/6369b797/attachment.sig>


More information about the Openstack mailing list