** Changed in: nova/grizzly
Status: Fix Committed => Fix Released
--
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/1185030
Title:
driver libvirt doesn't honor vif quota
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) grizzly series:
Fix Released
Bug description:
Driver libvirt does not seem to read the extra_specs field of flavors.
Thus there is no bandwidth tag in the generated libvirt xml file.
# nova flavor-show m1.nano
+----------------------------+---------------------------------------------------------------------------------+
| Property | Value
|
+----------------------------+---------------------------------------------------------------------------------+
| name | m1.nano
|
| ram | 64
|
| OS-FLV-DISABLED:disabled | False
|
| vcpus | 1
|
| extra_specs | {u'quota:vif_inbound_peak': u'102400',
u'quota:vif_inbound_average': u'102400'} |
| swap |
|
| os-flavor-access:is_public | True
|
| rxtx_factor | 1.0
|
| OS-FLV-EXT-DATA:ephemeral | 0
|
| disk | 0
|
| id | 42
|
+----------------------------+---------------------------------------------------------------------------------+
# nova boot --flavor m1.nano --image 2f624a03-baf2-4a57-9a44-44357c178281 vm1
# cat /var/run/libvirt/qemu/instance-00000001.xml
...
<interface type='bridge'>
<mac address='fa:16:3e:59:f0:62'/>
<source bridge='qbr634535f0-e8'/>
<target dev='tap634535f0-e8'/>
<model type='virtio'/>
<driver name='qemu'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
....
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1185030/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp