FIX: VMware Cloud Foundation Add Host and Cluster Failed
The Issue?: Can’t Add Hosts or Clusters to VCF Domains
You’ve done everything right; built resilient data centers using VMware Cloud Foundation (VCF) Regions, patched both data centers, enabled NSX Federation, and everything is humming along.
Next you need to add / replace an existing host in one of the domains or add a whole new cluster. Typically this is a simple operation, however, you start the process and hit the issue shown in the screenshot below.
The Issue?
VMware Cloud Foundation (VCF) introduced NSX Policy API in version 5.1, as part of this shift, certain domain operations use the latest policy API. The issue encountered here (from my testing) was specifically to do with VCF environments that had been federated using NSX Federation. Upon checking the environment, everything else was healthy, passwords were up to date, so there was nothing at surface level that could have been causing the issue.
The Fix!
First up, SSH to SDDC manager, then SU to root, once done, edit the ‘application-prod.properties’ file using VI or your preferred text editor.
Add the following line to the bottom of the file;
nsxt.base.version.policy=4.2.0.0.0-0
Restart the domain manager service and ensure it is up and running again;
systemctl restart domainmanager
Retry the workflow to add the host or cluster to the domain.
As you can see below, the add new host workflow has now completed successfully, you can comment out the changes you made or leave it there until all your domain add operations are complete. It will not hinder any upgrades in the future.
All this change is doing, is making SDDC Manager use older API’s that have been deprecated, however, are still functional.
You can check out some of my other VCF related articles here and my YouTube channel below.
Mastering VMware Cloud Foundation Architecture: A Beginner's Guide...
LAB2PRODMastering VMware Cloud Foundation Architecture: A Beginner's Guide to Building Your Own Cloud ------...
What is VMware Cloud Builder?
LAB2PRODVMware Cloud Foundation Cloud Builder is a software tool used to deploy VMware Cloud Foundation, a u...
VMware Cloud Foundation Deployment Parameters Spreadsheet, DONE RIGHT!
LAB2PRODIn this video demonstration, I'll show you how to effectively populate the VMware Cloud Foundation D...
Simplify Your Cloud Deployment: A Hands-on look at...
LAB2PRODAs organizations move towards the adoption of a hybrid cloud approach, VMware Cloud Foundation (VCF)...
Get the Most Out of Your Data Center...
LAB2PRODThank you for watching this video! If you liked it, please give it a like and don't forget to follow...
Unveiling the Power of VMware Cloud Foundations Day...
LAB2PRODVMware Cloud Foundation Day 2 Operations is a set of capabilities provided by VMware Cloud Foundatio...
Learn to Deploy NSX-T Edge Clusters Like a...
LAB2PRODLooking to learn how to deploy NSX-T Edge clusters using VMware Cloud Foundation SDDC Manager API? L...
Master VMware NSX Edge Cluster Operations with SDDC...
LAB2PRODHi everyone, thank you for tuning in to our latest video on how to expand, shrink and delete VMware ...
What are AVNs in VMware Cloud Foundation? (Application...
LAB2PRODIn this video, we will dive into the world of Application Virtual Networks (AVNs) and how they are u...
Simplify Your vRealize Suite Lifecycle Manager Deployment with...
LAB2PRODBlog: https://lab2prod.com.au Book on NSX Logical Routing: https://amzn.to/3wmkoRA Twitter: https://...
The Ultimate Guide to Deploying Workspace One Access...
LAB2PRODBlog: https://lab2prod.com.au Book on NSX Logical Routing: https://amzn.to/3wmkoRA Twitter: https://...
Master Password Management with VMware Cloud Foundation's SDDC...
LAB2PRODIn this video, I'll guide you through the password management methods offered by VMware Cloud Founda...
VMware Cloud Foundation Workload Domains: API Ready Infrastructure?
LAB2PRODSocials Twitter: https://twitter.com/ShankMohan LinkedIn: https://www.linkedin.com/in/shankmohan/ R...
Mastering VMware Cloud Foundation Availability Zones: Recovery Made...
LAB2PRODSocials Twitter: https://twitter.com/ShankMohan LinkedIn: https://www.linkedin.com/in/shankmohan/ R...
Elevate Your Cloud: Upgrade from VMware Cloud Foundation...
LAB2PRODSocials Twitter: https://twitter.com/ShankMohan LinkedIn: https://www.linkedin.com/in/shankmohan/ R...
VMware Cloud Foundation SDDC Regions: Simplified Steps to...
LAB2PRODWelcome back to our comprehensive guide on VMware Cloud Foundation (VCF) region architecture and dep...