Support setting rotation_rate on volumes

Registered by Marlin Cremers

QEMU (and in turn libvirtd since 7.3.0) has a flag called rotation_rate to set the speed of attached disk. A speed of 1 can be used to indicate a disk is an SSD.

This is important for some workloads (like Ceph) that use the rotation_rate to determine whether a drive is an SSD and change the performance characteristics based on this.

To support this use case I would like to support setting the rotation_rate flag based on the connection_info from a Cinder volume driver. The volume driver can then populate this based on information of the underlying storage platform. In our case based on a internal NVMe over Fabrics platform that is used to expose physical harddrives and SSDs as whole disks.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Marlin Cremers
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:rotation_rate

Addressed by: https://review.opendev.org/c/openstack/nova/+/920818
    libvirt: set rotation rate on disks based on rotation rate from volume

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.