The guest operating system (Photon OS) retains an exclusive lock on the CD/DVD ISO, preventing the hypervisor from safely ejecting it. Forcing the detachment via the vSphere Client causes a blocked operation while vCenter waits for the host's device disconnect query.
To release or override the device lock use one of the following methods:
Method 1: Proactive Eject via Command Line.
SSH as root.Command> prompt, type shell and press Enter.eject /dev/cdromMethod 2:
https://<ESXi_IP_or_FQDN>/ui) where the vCenter VM is running."The guest operating system has locked the CD-ROM door and is probably using the CD-ROM which can prevent guest from recognizing media changes. If possible, eject CD-ROM from inside the guest before disconnecting. Disconnect anyway and override the lock?"