- Open a SSH session to the SDDC Manager and switch to root:
su -
- Open the "application-prod.properties" file located in the /etc/vmware/vcf/domainmanager directory
vi /etc/vmware/vcf/domainmanager/application.properties
- Configure the "host.enterOrExitMaintenanceMode.timeoutInHours" property. Note: adjust the value to best suit the environment.
host.enterOrExitMaintenanceMode.timeoutInHours=20
- Check that there are no workflows running.
- Restart the domainmanager service:
systemctl restart doaminmanager
Workaround:
To workaround this issue, manually exit the hosts out of maintenance mode. This will fail the operation and allow the task to be retried.