Description of problem: In advance to https://bugzilla.redhat.com/show_bug.cgi?id=1358290. In environment with VM with 2 attached disks, one on domain A and the other on domain B, When detaching domain B, the second disk (on domain B) of the VM becomes unregistered from the system, but the VM remains. When attaching the domain B back to the environment, we have the option to register the mentioned disk back, and according to the feature page (http://www.ovirt.org/release/4.0.0/) it should be registered as floating disk. Register a disk who was attached to a VM before the storage domain detached from the environment, should be automatically attached to the VM when registered by the user in case the VM is still exist. This can be achieved by using - https://bugzilla.redhat.com/show_bug.cgi?id=1357616 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Should be considered along with bug 1358171.
This scenario is not that simple since the VM's snapshots might be changed and attaching the disk once the VM's snapshots were changed will make it unsync. For example VM1 with disk1(on storage1) and disk2 (on storage2) have 2 snapshots. Now we detach storage1 and we are left with VM1 with only disk2. If the user will remove those 2 snapshots on VM1, and will try to import storage1 and attach disk1 to it the engine will never be aware of those two snapshots that disk1 still has. This scenario should be considered as part of https://bugzilla.redhat.com/show_bug.cgi?id=1108904 solution. Therefore closing it as duplicate. *** This bug has been marked as a duplicate of bug 1108904 ***