Storage domain problems. oVirt 4.4.4.

Hi, all. I deployed a new oVirt 4.4.4 installation and imported FC storage domains. However, two storage domains turned out to be empty - they did not have virtual machines in the "VM import" tab, the virtual disks appeared in the "disk import" tab with empty aliases. I downloaded and viewed the OVF_STORE - the old information was partially overwritten by the new one with an empty number of VMs. Trying to restore the VM configuration information, I deployed a backup of the old hosted engine. Version is also 4.4.4. Thus, it was possible to restore OVF_STORE of the first problematic disk domain. But the second storage domain gave an error when updating OVF_STORE. The same error occurs when trying to export a VM or copy a virtual disk to another known good storage domain. At the same time, I successfully download disks from the second storage domain to my PC by clicking the Download button and saving *.raw. But snapshots cannot be saved like this. 1. How can I overwrite OVF_STORE on the second storage domain? If for this I need to restore the oVirt metadata on the storage domain, how can I do it correctly? 2. How can I download VM configuration that has been saved in the hosted engine? Thanks in advance for your help. WBR, Yury Valitsky

Hi, all. It's strange that no one answered. I assumed there are many specialists here who know ovirt deeply enough. As a result, I solved the problem. Step by step: 1. Disabled the filter in /etc/lvm/lvm.conf 2. Got a list of domains with the command: lvs -o vg_name, lv_name, tags 3. Checked the metadata of each vg_name: /dev/vg_name/metadata Found no damage. 4. Compared tags of all vg_names: vgs --noheadings -o tags vg_name I saw an empty value of the tag "MDT_POOL_UUID=" in the problem SD, in other SDs it was not empty and was the same. 5. Restored this tag with the same value as in other SDs: vgchange --deltag MDT_POOL_UUID= /dev/vg_name vgchange --addtag MDT_POOL_UUID=658ff724-50cf-11eb-a4b8-00163e077cea /dev/vg_name 6. After that, ovirt began to issue a checksum error, suggesting its correct value in the error text. Changed the check sum: vgchange --deltag MDT__SHA_CKSUM=02d7c4e6c792c95030147d9bd372374cdc6bdac9 /dev/vg_name vgchange --addtag MDT__SHA_CKSUM=1372727aa5081b4facfacc9ac12b4c07beeaa8db /dev/vg_name After that SD started working correctly. I would be glad if this information helps someone in the future. WBR, Yury Valitsky.
Hi, all.
I deployed a new oVirt 4.4.4 installation and imported FC storage domains. However, two storage domains turned out to be empty - they did not have virtual machines in the "VM import" tab, the virtual disks appeared in the "disk import" tab with empty aliases. I downloaded and viewed the OVF_STORE - the old information was partially overwritten by the new one with an empty number of VMs. Trying to restore the VM configuration information, I deployed a backup of the old hosted engine. Version is also 4.4.4. Thus, it was possible to restore OVF_STORE of the first problematic disk domain. But the second storage domain gave an error when updating OVF_STORE. The same error occurs when trying to export a VM or copy a virtual disk to another known good storage domain. At the same time, I successfully download disks from the second storage domain to my PC by clicking the Download button and saving *.raw. But snapshots cannot be saved like this. 1. How can I overwrite OVF_STORE on the second storage domain? If for this I need to restore the oVirt metadata on the storage domain, how can I do it correctly? 2. How can I download VM configuration that has been saved in the hosted engine? Thanks in advance for your help.
WBR, Yury Valitsky
participants (1)
-
Yury Valitsky