Created attachment 1347021 [details] engine.log Description of problem: An attempt to list the unregistered VMs under an imported storage domain fails with the following: 2017-11-02 15:23:23,533+02 ERROR [org.ovirt.engine.core.utils.ovf.OvfManager] (default task-11) [814e3133-09d3-4149-920a-99b14e6441ee] Error parsing OVF due to OVF error: jhfj: cannot read 'VmInit' with value: null Version-Release number of selected component (if applicable): ovirt-engine-4.1.7.5-0.1.el7.noarch How reproducible: Always Steps to Reproduce: 1. Have a storage domain and a VM with a disk that resides on it (could be achieved also with a diskless VM) 2. Deactivate and detach the storage domain from the data center 3. Attach the storage domain to the data center 4. Access the domain's unregistered VMs (via webadmin or REST API) Actual results: Failure to parse the OVFs on the storage domain with the mentioned exception Expected results: OVFs parsing should succeed Additional info: engine.log
Raising severity as all register objects from an imported domain is probably broken because of this. See https://bugzilla.redhat.com/show_bug.cgi?id=1497763
Dup of https://bugzilla.redhat.com/show_bug.cgi?id=1508829 ?
It's not the same scenario so not sure
Can you please reproduce this scenario with debug mode, that way we should also see the entity's OVF.
(In reply to Yaniv Kaul from comment #2) > Dup of https://bugzilla.redhat.com/show_bug.cgi?id=1508829 ? looks like bug 1508327, please retest since bug 1508327 is ON_QA already
(In reply to Michal Skrivanek from comment #5) > (In reply to Yaniv Kaul from comment #2) > > Dup of https://bugzilla.redhat.com/show_bug.cgi?id=1508829 ? > > looks like bug 1508327, please retest since bug 1508327 is ON_QA already Moving to ON_QA based on this input
Verified on rhevm-4.1.7.6-0.1.el7