Hi all,
In the system I currently have a Data Center with a corrupted Master Domain,
Corrupted intentionally for testing?
and a spare, unattached Domain. How do I use the SDK to reinitialize the Data Center by attaching the unattached Domain? Simply reattaching it doesn't seem to register as a proper re initialization, despite the system showing an active status for the data center after the attachment.
This will reconstruct the master doamin on your spare domain:
1. attach the spare domain
2. activate the spare domain
3. wait until the spare domain is ACTIVE
4. deactivate the master domain
5. wait until the master domain is inĀ MAINTENANCEĀ
At this point the spare domain should be the master domain.
See ovirt-system-tests for example of using the SDK:
Daniel, do we have a better way?
Nir