[RFE] make sushy-tools support OStack VMs that have been booted from volume or snapshot

Bug #2067405 reported by Adam Rozman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sushy Tools
Triaged
Medium
Adam Rozman

Bug Description

The issue is that whenever a sushy tools tries to list the available nodes there is a failure when sushy-emulator finds a VM that was not booted from image instead it was booted from volume.

The issue is suspected to be here:
https://github.com/openstack/sushy-tools/blob/master/sushy_tools/emulator/resources/systems/novadriver.py#L254

In order to properly fix this issue a simple bug fix is not enough, the Sushy-tools nova driver
lacks the ability to support VMs that have been booted from volume or snapshot. Sushy-tools needs to have access to the boot image of the OStack instance in order to determine the boot mode and the secure boot requirement.

I propose implementing support for machines that have been booted from volumes or snapshots and in addition to that I propose implementing the functionality to traverse "chain"s of volume copies to be able to dig down to the volume or snapshot that has the bootable image reference .

Revision history for this message
Adam Rozman (rozzix) wrote :
Revision history for this message
Iury Gregory Melo Ferreira (iurygregory) wrote :

Marking as triaged and medium, but we need to see with the community about the approach =)

Changed in sushy-tools:
status: New → Incomplete
status: Incomplete → Triaged
status: Triaged → In Progress
importance: Undecided → Medium
assignee: nobody → Adam Rozman (rozzix)
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.