Bug 1369482 - [RFE] Boot instance from volume with QoS
Summary: [RFE] Boot instance from volume with QoS
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 8.0 (Liberty)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
: 1375562 (view as bug list)
Depends On:
Blocks: 1262069
TreeView+ depends on / blocked
 
Reported: 2016-08-23 14:14 UTC by Pratik Pravin Bandarkar
Modified: 2023-03-21 18:38 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-05 17:12:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-4556 0 None None None 2022-08-16 14:04:19 UTC

Description Pratik Pravin Bandarkar 2016-08-23 14:14:19 UTC
Description of problem:
1. Proposed title of this feature request  
Boot instance from volume with QoS


3. What is the nature and description of the request?  
Currently we can apply QoS on instances with nova flavors[1]. But, it will not get applied if user is booting instance from volume.(Either boot from image(create new volume)  or boot from volume).  I can see for cinder volumes, we need to set qos by "cinder qos-create" which we can attach it the instance. [2].

- If you have single volume type, you can mention the volume type name in "cinder.conf"
[...]
# Default volume type to use (string value)
default_volume_type = high-iops <==
[...]

With above option(default_volume_type), if you create new instance(boot from image(Create new volume)), volume will get created with volume type "high-iops" where we have set QoS.

But, if there are multiple volume types then "default_volume_type" option is not valid.

So. for cinder volumes, we need to perform 2 steps.
1. create volume with qos using cinder.
2. attach volume/boot from volume using nova.


Can we reduce it to single step ? May be by:

1.  providing option to select volume type while booting new instance from volume.
Or
2. Applying QoS defined in nova flavors to cinder volumes.

[1] https://wiki.openstack.org/wiki/InstanceResourceQuota
[2] https://paste.fedoraproject.org/412893/

Comment 6 Stephen Gordon 2017-01-24 21:12:02 UTC
*** Bug 1375562 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.