This is a known issue affecting VMware Cloud Foundation. Currently, there is no resolution.
Workaround:
To work around the issue, increase the timeout period for the maintenance mode operation.
- Log in to the VRM virtual machine as the root user.
- Make a copy of the /home/vrack/lcm/lcm-app/conf/application-prod.properties file:
cp /home/vrack/lcm/lcm-app/conf/application-prod.properties /tmp/
- Open the /home/vrack/lcm/lcm-app/conf/application-prod.properties file using a text editor:
vi /home/vrack/lcm/lcm-app/conf/application-prod.properties
- Find the line that reads:
lcm.upgrade.esx.maxallowed.increase.endTime=14400000
and replace 14400000 with a higher value.
Note: 14400000 corresponds to four hours.
- Save and close the file.
- Restart the lcm-init service:
service lcm-init restart