Description of problem: Register a VM with disks that part of them are reside on storage domains which has not been imported yet to the setup should fail, although using the 'allow_partial' flag should eagerly register the partial VM without the missing disks. Currently engine fail to do so with an error message Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Add VM with disks on several storage domains 2. Detach all storage domains 3. Import only part of the storage domains 4. Try to register the VM using the allow_partial flag as true Actual results: VM will fail to be registered Expected results: The VM should be registered without the missing disks Additional info:
Verified, performed the scenario described in comment 0: 1. create a vm with disks on 6 storage domains: 2 nfs, 2 iscsi, 2 gluster (one on each storage domain) 2. detach all storage domains 3. attach only part of them (one of each type) 4. register the vm VM was successfully registered, with 3 disks (the one's that had the storage domain attached). builds used: rhvm-4.2.2.6-0.1.el7.noarch vdsm-4.20.23-1.el7ev.x86_64
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.