On Sat, Dec 1, 2018 at 5:32 AM Andrew DeMaria <lostonamountain@gmail.com> wrote:
Hi,

I've been testing the hosted-engine restore process and have gotten stuck because I cannot remove the old hosted-engine storage domain. Here is the process I went through:

1. Setup two 70G luns under an iscsi target (one for the original, one for the restored hosted-engine. They are both empty at this point)
2. Install RHEL 7.6 on two other hosts (synergy and pointblank)
3. Install ovirt 4.2 on host synergy thru hosted-engine --deploy using one of the luns
4. Add host pointblank
5. Perform engine-backup and copy it off
6. Shutdown both RHEL hosts
7. Reinstall RHEL on both (wipe disk)
8. Install ovirt 4.2 on host synergy via hosted-engine --deploy --restore-from-file=backup.tgz using the other unused lun
9. Remove old host pointblank
10. Add host pointblank
11. Noticed that old hosted-engine storage domain (named hosted_storage_old_20181130T111054) is designated the master storage domain
12. Move storage domain hosted_storage_old_20181130T111054 into maintenance

We are simply renaming it without automatically removing since the user can potentially store there also other VMs.
 
13. Noticed that hosted_storage_old_20181130T111054 is still the master (even after moving it into maint while the new hosted_storage storage domain is healthy/active)

This looks really weird, the engine should select another SD as the new master SD and you should be able to destroy that one.
Can you please attach engine.log for the relevant time frame?
 
14. Tried to detach hosted_storage_old_20181130T111054 anyways, but presented with:

Error while executing action: Cannot detach the master Storage Domain from the Data Center while there are other storage domains attached to it.
-Please try to activate another Storage Domain in the Data Center.

This is quite strange as the new hosted_storage storage domain is listed under that same Data Center named "Default" and is shown active.

Any guidance would be much appreciated!

Thanks,
Andrew
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PVASAUXKFO4OK4FEJAOV47VP3X4VRRGX/