A blog about IT topics related to virtualization, automation and networking.

Category: VCF

VCF – NSX VMs deployed and deleted, again and again

While rolling out a new Workload domain the SDDC manager got stuck in a loop of deploying the NSX appliances and deleting them instantly after the deployment finished. The interesting thing was that one out of the three VMs got deployed and started without problems.

The cause of this could be found in the domainmanager logfile on the SDDC manager host

/var/log/vmware/vcf/domainmanager/domainmanager.log
Powering on VM: ***-nsx01a
[..] -
[..] - Task Completed
[..] - Error: Task failed on server: The host does not have sufficient memory resources to satisfy the reservation.
[..] - Deleting VM: ***-nsx01a
[..] - Warning:
[..] -  - The manifest is present but user flag causing to skip it
[..] - Completed with errors on host ***
[..] ERROR [vcf_dm,677263b484ddb203cdedfa721556dc85,fe4c] [c.v.v.c.f.p.n.a.DeployNsxtManagerAction,dm-exec-1]  Deployment of NSX Manager failed using OVF tool
[..] DEBUG [vcf_dm,677263b484ddb203cdedfa721556dc85,fe4c] [c.v.v.c.f.p.n.a.DeployNsxtManagerAction,dm-exec-1]  Found error message - [Error: Task failed on server: The host does not have sufficient memory resources to satisfy the reservation.]

The management domain was also used to run other “Management VMs” it slightly ran out of “reservable memory”. As the NSX VMs get a memory resource reservation only the first VM got enough resources for the reservation and could be powered up but there wasn´t enough for the later two.

After increasing the memory of the ESXi Hosts the deployment could be finished without any problems.

VCF – Host validation error

The other day I wanted to add some additional ESXi hosts to my lab VCF installation but failed due to the following error

Host validation failed, invalid input. Please check logs for more details
You can remove the validation failed host and proceed with commissioning for the remaining hosts.

The mentioned logfile can be found inside the VCF SDDC manager appliance.

To access the logfile you first have to open an SSH session to your appliance and log in with the vcf user and the password you have set during installation.

The logfile for the host operations is stored here:

/var/log/vmware/vcf/operationsmanager/operationsmanager.log

I placed a tail -f on the logfile and retried the host validation set. In the output I found my problem, it turned out I had a typo in my DNS configuration and the host could just not be found.

java.net.UnknownHostException: esx-vcf-wld01.sddc.local: Name or service not known

After fixing DNS the host validation succeeded and the hosts could be added to the SDDC manager.

Powered by WordPress & Theme by Anders Norén