Ticket #9392 (closed defect: duplicate)
Cannot clone if any snapshot has an ISO assigned to CD/DVD
|Reported by:||dalepres||Owned by:|
|Version:||VirtualBox 4.1.0||Keywords:||clone iso snapshot|
If you have an ISO attached to the CD/DVD drive of a VirtualBox VM, in any snapshot - even if detached in the current state - you cannot clone. The clone fails. If you have a lot of snapshots, having to load each and every snapshot and remove the ISO does not make sense.
This is something that should not be even tested in cloning. It should only be tested at run time when the ISO is loaded in a running VM. If the VM cannot get an exclusive lock on the ISO, report the condition and continue to load the VM without an ISO attached.
Equally bad as the "any snapshot" condition of this bug, if this does have to be tested in cloning (which it should not be) it should be tested before the VDI file is copied. It makes no sense to spend 20 to 30 minutes copying a large VDI file and then fail for something that could have been tested before copying the VDI file.