Make libvirt use device aliases for detach
Currently we identify devices in Libvirt guest XML by a variety of methods, which differs based on the device type (at least). Libvirt now provides a device alias mechanism by which we can tie virtual guest devices to an identifier we can use to look them up in a stable and generic way. Nova should move to using that, which will increase consistency, decrease some complexity, and also work around some issues with our current strategy.
Blueprint information
- Status:
- Complete
- Approver:
- Sylvain Bauza
- Priority:
- Undefined
- Drafter:
- Dan Smith
- Direction:
- Approved
- Assignee:
- Dan Smith
- Definition:
- Approved
- Series goal:
- Accepted for 2024.1
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Sylvain Bauza
- Completed by
- Sylvain Bauza
Related branches
Related bugs
Sprints
Whiteboard
[20231114 bauzas] Spec got approved for Caracal
Series can be found in https:/
Gerrit topic: https:/
Addressed by: https:/
Detach disks using alias when possible
Addressed by: https:/
DNM: Debug some volumes not setting alias
Addressed by: https:/
Support setting alias on libvirt disks
Addressed by: https:/
Set libvirt device alias for volumes