VMware Cloud Foundation upgrade fail while putting an ESXi host into maintenance mode
search cancel

VMware Cloud Foundation upgrade fail while putting an ESXi host into maintenance mode

book

Article ID: 326573

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • While performing a VMware Cloud Foundation upgrade, the upgrade process fails while waiting to put an ESXi host into maintenance mode.
  • There are either a large number of virtual machines being migrated or a large amount of vSAN data being moved as a result of the maintenance mode operation.


Resolution

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.
  1. Log in to the VRM virtual machine as the root user.
  2. 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/
     
  3. 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
     
  4. 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.
     
  5. Save and close the file.
  6. Restart the lcm-init service:

    service lcm-init restart