sushy-tools/releasenotes/notes/vmedia-openstack-fc422b845c343fc3.yaml
Steve Baker fafb4b0b86 Add virtual-media-boot to openstack driver
The implementation does the following.

On insert:
- Upload the image directly to glance from the URL (long running)
- Create and attach a new volume the same size as the root disk
- Rebuild the server with the image, replacing the contents of the root
  disk
- Delete the image

On eject:
- Assume the attached volume has been rewritten with a new image (an ISO
  installer or IPA)
- Detach the volume
- Create an image from the volume (long running)
- Rebuild the server with the new image
- Delete the volume
- Delete the image

The long running operations are performed in a background thread task.
Only one long running operation (insert or eject) can be performed
concurrently for each server. If a long running operation fails, the
only way to feed that back to the user is by re-raising the error during
the next insert/eject request for that server.

The documentation is updated to describe OpenStack driver specifics.
Also the Redfish spec has deprecated accessing VirtualMedia via Managers
so the documentation is updated to refer via Systems.

Change-Id: I24ea943325a23a06887a185801211b4a9570e284
2024-03-13 09:41:54 +13:00

13 lines
619 B
YAML

---
features:
- |
The openstack driver now supports insert and eject of virtual media. On
insert a new empty volume is created and attached to the server and the
server is rebuilt with the that image. On eject it is assumed that the
attached volume has been rewritten with bootable image data. The volume is
detached and uploaded as an image, then the server is rebuilt with that
image.
Both insert and delete results in the root disk being wiped and replaced
with the contents of an image, so this should not be used in any scenario
where the root disk data needs to be retained.