ironic/releasenotes/notes/fix-eject-media-dvd-b1994446ea71be9c.yaml
Iury Gregory Melo Ferreira 766d2804a1 Make sure we eject media from DVD when CD is requested
It's possible to use virtual media based provisioning on
servers that only support DVD MediaTypes and do not support CD
MediaTypes. The problem in this scenario is that Ironic will keep
the media attached since it will only eject the ones matching the
CD device, now we check if there is any DVD device with media inserted
when looking for CD devices.

Closes-Bug: 2039042
Change-Id: I7a5e871133300fea8a77ad5bfd9a0b045c24c201
2023-10-13 09:37:53 -03:00

9 lines
283 B
YAML

---
fixes:
- |
Properly eject the virtual media from a DVD device in case this is the
only MediaType available from the Hardware, and Ironic requested CD as
the device to be used.
See `bug 2039042 <https://bugs.launchpad.net/ironic/+bug/2039042>`_
for details.