It is very common to encounter errors while running LCM to check inventory and initiate any Nutanix platform component upgrade, including issues related to the Nutanix Foundation service. Understanding the role of the Nutanix Foundation in these processes is essential for effective troubleshooting. But don’t worry, you will find resolutions for such errors below.
Understanding LCM: Lifecycle Management (LCM) is an integral part of maintaining a Nutanix environment, including the Nutanix Foundation service, ensuring that all components are up-to-date and functioning optimally. Regular updates can mitigate vulnerabilities and improve performance.
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
- Nutanix Foundation encountered issues during the upgrade process.
ssh nutanix@192.168.1.10
Example: Replace Nutanix CVM IP address with actual CVM
Diagnosing LCM Failures: When LCM encounters failures, it can be due to various reasons such as misconfigurations, outdated software versions, or resource constraints. It’s crucial to gather logs and details about the failure before troubleshooting.
Understanding the Nutanix Foundation Service
The Nutanix Foundation is pivotal in ensuring that all components of the Nutanix cluster are operational and effective. Frequent checks of the Nutanix Foundation can prevent issues during upgrades.
Importance of Nutanix Foundation in LCM Management
Common Reasons for LCM Failures: Apart from the errors listed, other common issues include network connectivity problems, insufficient resources on the cluster, and incorrect configurations. Identifying the root cause is essential for a successful resolution.
Step 1 Explained: Logging into the Cluster Virtual Machine (CVM) allows you to directly interact with the Nutanix cluster and is the first step in diagnosing LCM issues. Ensure you have appropriate credentials to access the 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]
Understanding Foundation Service: The foundation service is critical for the operation of Nutanix clusters. It manages the installation and configuration of the cluster’s components. Stopping this service when it’s unnecessary helps in troubleshooting LCM issues.
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: []
Why Stop the Foundation Service? Stopping the foundation service is crucial when upgrading components to prevent conflicts. It ensures that no other processes interfere with the upgrade, leading to a smoother LCM process.
Role of Nutanix Foundation: The Nutanix Foundation service is critical for the operation of Nutanix clusters. It manages the installation and configuration of the cluster’s components. Recognizing its importance helps in troubleshooting LCM issues effectively.
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.
Checking for Service Impact: It’s essential to note that stopping the foundation service will not impact running workloads. This is a safe operation, allowing you to focus on resolving LCM issues without affecting production.
Verification Steps: After stopping the foundation service, always verify its status. This confirmation ensures that the service is indeed disabled, allowing you to proceed with other troubleshooting steps. Consistent verification practices help maintain cluster stability.
Further Reading: For more troubleshooting techniques and best practices regarding Nutanix LCM, consider exploring the official Nutanix documentation or joining community forums where experts share their experiences.
- Top 10 Powerful Hyper-Converged Infrastructure (HCI) Benchmarks - March 9, 2025
- Expert Nutanix AHV Cluster Shutdown and Start - March 7, 2025
- How to Change Nutanix CVM Hostname on AHV Cluster - March 2, 2025