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
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)
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