← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1265459] Re: Set Qos failed to vm instance which booted from volume

 

Please make nova extra in flavor first.

nova flavor-key m1.small  set quota:disk_read_bytes_sec=10240000
nova flavor-key m1.small  set quota:disk_write_bytes_sec=10240000


You can look this:
https://wiki.openstack.org/wiki/InstanceResourceQuota

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1265459

Title:
  Set Qos failed to vm instance which booted from volume

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  First,i created a volume type named "test",

  cinder type-create test

  Then,created cinder qos and  associate it to the volume type named
  "test"

  cinder qos-create disk total_bytes_sec=1000 total_iops_sec=100
  cinder qos-associate  1e17e6da-aa7e-4695-8d80-5ada0eaa09eb  6ff55fa4-e54c-443e-8902-637b915e372

  Next,i created a volume with params above:
  cinder create --display-name cirros --volume-type test --image-id 9345c318-3ce0-48ba-b26b-f49947ccacf2 

  Finally,create instance with this volume

  nova boot cirros --flavor m1.tiny --boot-volume  cirros

  while , after started the vm instance,i found no iotune item in
  instance`s xml .

      <disk type='block' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source dev='/dev/disk/by-path/ip-192.168.1.2:3260-iscsi-iqn.1986-03.com.sun:02:cinder-volume-0824
  3f23-7488-4668-ad3e-46dc26d9a09f-lun-0'/>
        <target dev='vda' bus='virtio'/>
        <serial>08243f23-7488-4668-ad3e-46dc26d9a09f</serial>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </disk>

  I use openstack nova havana .

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1265459/+subscriptions


References