[Internal] A VMware Cloud Foundation upgrade might fail while putting an ESXi host into maintenance mode
search cancel

[Internal] A VMware Cloud Foundation upgrade might fail while putting an ESXi host into maintenance mode

book

Article ID: 324023

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • While performing a VMware Cloud Foundation upgrade, the upgrade process might fail 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.


Environment

VMware Cloud Foundation 2.x

Resolution

This is a known issue affecting VMware Cloud Foundation. There is currently no resolution.


To workaround the issue, the timeout period for the maintenance mode operation can be increased.
  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 with 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 change 14400000 to 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


Additional Information

To be alerted when this article is updated, click the subscribe button [cid:[email protected]] . For more information on KB subscription features, see the Knowledge Base Article FAQs: How to Subscribe to VMware Knowledge Base Articles (76417).