Hello today I tried to migrate the hosted engine from our Default Datacenter (NFS) to our
Ceph Datacenter. The deployment worked with the automatic "hosted-engine --deploy
--restore-from-file=backup/file_name" command. Perfect.
Only thing is: I messed up with the cluster name. The name should be Luise01 but I entered
Luise1. Duh...
Now I want to bring the engine back to the Default Datacenter. Easy thing. Just repeat the
same steps again.
1. Enable global ha maintenenace
2. Stop and disable the engine
3. create the engine backup
4 ... continue with all the steps from chapter 13.1.8 RHEV Docs 4.3 Beta.
Everything looked great. The ansible playbook was running, then asking for the storage
domain. I entered the NFS path. It got registered, but then the ansible playbook errors
out with
[ INFO ] TASK [ovirt.hosted_engine_setup : Add VM]
[ ERROR ] Error: Fault reason is "Operation Failed". Fault detail is
"[Cannot attach Virtual Disk. The target Data Center does not contain the Virtual
Disk.]". HTTP response code is 409.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Fault reason is \"Operation Failed\". Fault detail is \"[Cannot
attach Virtual Disk. The target Data Center does not contain the Virtual Disk.]\".
HTTP response code is 409."}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[ INFO ] Stage: Clean up
[ INFO ] Cleaning temporary resources
I see that there is a bug report on
https://bugzilla.redhat.com/show_bug.cgi?id=1649424
Any idea how to get around this error ?
Additionally I now have a HostedEngineLocal (shut off) on that node... How do I remove
it?
engine-cleanup ?
Have to get some sleep.
best regards.