Instance resource quota not observed for non-ephemeral storage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I'm using a nova built from stable/kilo and trying to implement instance IO resource quotas for disk as per https:/
While this works when building an instance from ephemeral storage, it does not when booting from a bootable cinder volume. I realize I can implement this using cinder quota but I want to apply the same settings in nova regardless of the underlying disk.
Steps to produce:
nova flavor-create iolimited 1 8192 64 4
nova flavor-key 1 set quota:disk_
Boot an instance using the above flavor
Guest XML is missing <iotune> entries
Expected result:
<snip>
<target dev='vda' bus='virtio'/>
<iotune>
</iotune>
</snip>
This relates somewhat to https:/
Essentially, for non-ephemeral disks, a call is made to _get_volume_
I've essentially copied the disk_qos() method from the associated code review (https:/
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: quotas |
tags: | added: libvirt |
Changed in nova: | |
assignee: | nobody → lyanchih (lyanchih) |
Changed in nova: | |
status: | New → Confirmed |
assignee: | Chung Chih, Hung (lyanchih) → nobody |
Changed in nova: | |
assignee: | nobody → Prateek Arora (parora) |
Fix proposed to branch: master /review. openstack. org/201019
Review: https:/