Re: VMs missing following Import of Storage Domain

The .ovf files don’t exist on the Primary site for the VMs in question so they are not being replicated. Question is why aren’t there .ovf files on any of the hosts for those Vms? Regards Simon…

On Tue, Jun 28, 2022 at 1:31 AM Simon Scott <simon@justconnect.ie> wrote:
The .ovf files don’t exist on the Primary site for the VMs in question so they are not being replicated.
Question is why aren’t there .ovf files on any of the hosts for those Vms?
I can think of at least three reasons: 1. There was no "OVF update" since those VMs were created but if you kept the OvfUpdateIntervalInMinutes with its default value of 60 min and the missing VMs were not created in about the same time then it's less likely 2. ovirt-engine failed to write the OVFs, that's also less likely but then you should see an error in engine.log 3. ovirt-engine didn't detect a change thus didn't try to write the OVFs of these VMs I'd do the following: 1. Check the output of "engine=# select vm_guid, ovf_generation from vm_ovf_generations ;" to see if the missing VMs are written there (they probably are) and what's their "ovf generation" 2. Update some of those VMs 3. Check that their new generation is higher than the one you saw in (1) with: "engine=# select vm_name, db_generation from vm_static;" 4. Trigger Storage Domain -> Update OVFs 5. Check the OVF store to see if those VMs are now there
Regards
Simon… _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/URPW47VGR4AOWP...

Apologies - I didn't mean this to be a new thread...anyway. I've forgotten how to access the engine db and run the queries above but I had an idea the following may work. The resolution for now was to clone the VMs that weren't in any OVF_STORE. The geo-replicated volume was then imported on the DR site and VMs successfully imported. Thanks for your advice above, I'll make a note should I come across a similar issue. Kind Regards Simon...
participants (3)
-
Arik Hadas
-
Simon Scott
-
simon@justconnect.ie