It is very common error while run LCM to check inventory and initiate any Nutanix platform component upgrade. But don’t worry you will get resolution of such errors below.
Nutanix Cluster LCM failure errors list:
- Failure reason: Foundation service running on one of the nodes, Test failed
- LCM Exception [LcmRecoverableError]: Pre-check test_hypervisor_config failed:
- Pre-check test_cluster_status failed.
- Nutanix cluster error: Pre-check test_cluster_status failed
- Nutanix cluster upgrade failed : Foundation service running on one of the nodes
Resolution of Nutanix LCM Failure / Errors / Issues
Follow below steps to fix above errors / issues.
Step 1: Log into one of the Nutanix CVM
Example: Replace Nutanix CVM IP address with actual CVM
Step 2: Run follwoing command to find running foundation service on CVMs across Nutanix cluster
nutanix@cvm$ allssh “genesis status | grep foundation”
Command output will be like this:
foundation: [3063, 2791, 2790, 31629, 31676, 32699]
Example: If Nutanix foundation service is running on any Nutanix CVM, the output will be like this:
foundation: [3063, 2791, 2790, 31629, 31676, 32699]
Step 3: Stop running foundation service
Method 1: Login to that particular CVM where foundation service is running and stop “foundation service” through following command:
nutanix@cvm$ genesis stop foundation
Command output will be like this:
foundation: []
Method 2: Stop foundation service across cluster on all CVMs with single command. No need to login each CVM manually.
nutanix@cvm$ allssh ‘genesis stop foundation’
Command output will be like this:
foundation: []
Note: there is no impact on cluster services and running workload. You may use any method as per your convenience.
Step 4: Final step to validate foundation service status on all Nutanix CVMs.
nutanix@cvm$ allssh “genesis status | grep foundation”
Command output will be like this:
foundation: []
If result shows, foundation [], it means foundation services not longer running on any CVM.
Therefore, this Nutanix LCM test failure, issue has been resolved successfully.
Thank you for being with #HyperHCI.com | For more interesting blogs get update on mobile to just scan QR code.