Description of problem: Have a setup with external VM without disks will set the OVF_STORE disk with this VM OVF. The user should not see this VM as part of the unregistered candidates to be registered to the setup. The engine should filter all external entities once the storage domain is being attached. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run an external VM 2. Make sure the storage domain's OVF is being updated 3. Destroy the environment. 4. Restore the env and import and attach the storage domain 5. go to the "import VM" sub tab and check the entities for register there Actual results: the External VM exists in this sub tab as an entity to register Expected results: the External VM should be filtered out Additional info:
All these patches are contained in the ovirt-engine-4.1.3.3 tag.
Have some questions for verifying this: > 1. Run an external VM is there a consistent way to create the external vms? I've only seen them in some bugs that I've encountered some-times but not really know the flow for it. > 3. Destroy the environment. What is this exactly? Remove the DC, the storage domain, uninstall ovirt? Thanks
(In reply to Carlos Mestre González from comment #4) > Have some questions for verifying this: > > > 1. Run an external VM > is there a consistent way to create the external vms? I've only seen them in > some bugs that I've encountered some-times but not really know the flow for > it. You should have running qemu process. maybe try to use a Host on one setup and run a VM on it, then try to use that same host on another setup, that way the VM will still be running on the host and you should see an external VM on your setup. What I've done to verify this is to run a VM on that Host and then remove that VM from the DB, so it will be external-VM > > > 3. Destroy the environment. > What is this exactly? Remove the DC, the storage domain, uninstall ovirt? Simply kill the engine process, and reinstall it again from scratch. > > Thanks
(In reply to Maor from comment #5) > (In reply to Carlos Mestre González from comment #4) > > Have some questions for verifying this: > > > > > 1. Run an external VM > > is there a consistent way to create the external vms? I've only seen them in > > some bugs that I've encountered some-times but not really know the flow for > > it. > > You should have running qemu process. > maybe try to use a Host on one setup and run a VM on it, then try to use > that same host on another setup, that way the VM will still be running on > the host and you should see an external VM on your setup. > What I've done to verify this is to run a VM on that Host and then remove > that VM from the DB, so it will be external-VM > > > > > > 3. Destroy the environment. > > What is this exactly? Remove the DC, the storage domain, uninstall ovirt? > > Simply kill the engine process, and reinstall it again from scratch. > > > > > Thanks If you need any help with verifying this, try to ping me on IRC
tested on rhevm-4.1.3.5-0.1.el7.noarch with RHEL 7.4 hosts and using glusterfs domains