I was able to finish update manually creating hosted_storage domain from new engine web
interface
after first failure, in this case it was created with format V4 and ansible playbook
doesn't
recreate it, after updating engine and host updating cluster compatibility level to 4.4
also updated
all storages to V5 format.
One more strange behavior was observed in this tasks:
[ INFO ] TASK [ovirt.hosted_engine_setup : Make the engine aware that the external VM is
stopped]
[ INFO ] TASK [ovirt.hosted_engine_setup : Wait for the local bootstrap VM to be down at
engine eyes]
it can fail, because engine can't connect to deploy host and local VM has unknown
status, stopping
firewalld at this moment solves it, this may be caused by "iptables" firewall
type set in hosted
engine cluster, maybe in this case firewalld not configured by hosted-engine --deploy ?
--
Tuesday, September 29, 2020, 19:47:39:
Hello, I'm trying to update our hosted-engine ovirt to version
4.4 from 4.3.10 and everything goes fine until
hosted-engine --deploy tries to add new hosted_storage domain, we have NFS storage
domains, and it
fails with error:
[ INFO ] TASK [ovirt.hosted_engine_setup : Activate storage domain]
[ ERROR ] ovirtsdk4.Error: Fault reason is "Operation Failed". Fault detail is
"[Domain format is
different from master storage domain format]". HTTP response code is 400.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Fault reason is \"Operation
Failed\". Fault detail is \"[Domain format is different from master storage
domain format]\". HTTP response code is 400."}
It looks like storage domains in data center should have been
upgraded to V5 when DC and cluster
compatibility version was updated to 4.3, but looks like it was implemented in ovirt
4.3.3 and this
setup was updated from 4.2 to 4.3 before 4.3.3 was released, so I ended up with 4.3 DCs
and clusters
with V4 storage domain format.
Is there any way to convert V4 to V5 (there are running VMs on them) to be able upgrade
to 4.4?