I have been upgrading our ovirt hosts to el7 to be able to run version 3.6.
When deploying a new host have problems with the shared OVF storage config part.
1. I get an error during deploy:
[ INFO ] Stage: Setup validation
[ ERROR ] Failed to execute stage 'Setup validation': failed to read metadata: [Errno 2] No such file or directory: '/rhev/data-center/mnt/[NFS3_SHARE]/88b69eba-ef4f-4dbe-ba53-20dadd424d0e/ha_agent/hosted-engine.metadata'
[ INFO ] Stage: Clean up
It seems the symlink of hosted-engine.metadata is missing.
So I added manually the /var/run/vdsm/storage folder with subfolder 88b69eba-ef4f-4dbe-ba53-20dadd424d0e and symlinks.
Then I reran the hosted-engine deploy and this time all went well.
2. Now when the host is installed I notice the following in the logs
....
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Preparing images
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: INFO:ovirt_hosted_engine_ha.lib.image.Image:Preparing images
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Reloading vm.conf from the shared storage domain
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Trying to get a fresher copy of vm configuration from the OVF_STORE
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: WARNING:ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore:Unable to find OVF_STORE
Feb 5 22:33:08 geisha-2 journal: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config ERROR Unable to get vm.conf from OVF_STORE, falling back to initial vm.conf
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config:Unable to get vm.conf from OVF_STORE, falling back to initial vm.conf
Feb 5 22:33:08 geisha-2 journal: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Error: 'Path to volume 6a5b55c3-3f03-47cc-b322-d6d7562371be not found in /rhev/data-center/mnt' - trying to restart agent
Feb 5 22:33:08 geisha-2 ovirt-ha-agent: ERROR:ovirt_hosted_engine_ha.agent.agent.Agent:Error: 'Path to volume 6a5b55c3-3f03-47cc-b322-d6d7562371be not found in /rhev/data-center/mnt' - trying to restart agent
So at this point I was a bit stuck.
I removed complete ovirt36 release and installed ovirt35 for the hosted engine deploy.
This time all went without any problem directly.
From there I retried upgrade and same problems again.
I added no_subtree_check and tried deploy again, but again without luck.
And found /etc/ovirt-hosted-engine/hosted-engine.conf,
conf_volume_UUID, conf_image_UUID
Hosts run el7
Hosted engine runs el6
Hosted engine storage is through NFS3
Can I import the hosted engine storage in to engine ( in web interface )?
Or how can I create or trigger manually the OVF store the logs complain about?