vRealize Automation 7.5 migration fails intermittently during rejoin/reconfigure cluster node of replica node
search cancel

vRealize Automation 7.5 migration fails intermittently during rejoin/reconfigure cluster node of replica node

book

Article ID: 325971

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • In the /var/log/vcac/migrate.log you see error similar to:
Command execution failed with unexpected error: java.lang.RuntimeException: Leading cluster node health check failed.


Environment

VMware vRealize Automation 7.5.x

Resolution

  1. Rollback the environment to the pre-migration backup state.
  2. Apply the provided workaround.
  3. Retry the migration.


Workaround:
  1. SSH login to the vRealize Automation 7.5 master node.
  2. Navigate to /usr/lib/vcac/tools/migration/sequence/migration/scripts/ directory.
  3. Open M80-reconfigure-node file for editing and append the lines below before the Re-join node to cluster command:
# Wait for successful master node health check
mutils.print_message('+ [{}] Waiting for successful master node health check'.format(node_hostname))
mutils.wait_for_vra_services(this_hostname)

# Re-join node to the cluster. This will stop all services, update node's claster configuration from the database,
# enable RabbitMQ clustering on the node and start only services configured to run. It may run for a while.
  1. Retry the migration.