ConfigMgr

VMware, Azure and Automation

Cloud Director VAMI Setup – NFS Errors

4 september 2023 Cloud Director Solutions VMware

Today we got some complaints from users about slow VMware Cloud Director tasks. It took 40 minutes to create a VM, 10 minutes to power off, and 10 minutes to eject media. Not good! Not good at all!

After logging in to the VAMI of the primary cell we noticed an issue: the cluster health was degraded. The second cell was having some issues but a restart of the cell didn’t solve the problem. A complete restart of the appliance neither.

The first thing I did was to disable the problematic cell in the NSX ALB (that is handling all incoming traffic). The second thing was to redeploy the appliance.

One of the things you need to do is delete the node from the database. In the VCD documentation is a dedicated topic for this: Unregister a Failed Primary or Standby Cell in a Database High Availability Cluster. However, the command that you need to run needs some extra parameters. I ran the following command on the primary cell:

curl -X DELETE "https://<primary cell>:5480/api/1.0.0/nodes/<cell-to-delete>" -k -u "root:<password>"

Now I could redeploy the appliance and run the setup wizard. But the first step failed: Backend validation of NFS mount failed with: /opt/vmware/vcloud-director/data/nfs-test/test-file is owned by an unknown user with UID 4294967294; expected root.

This issue is caused by some miscommunication between the NFS server and the appliance. The solution is very simple:

  • Copy the configuration for the NFS mount for transfer file location from the primary node to the node that you are installing. This configuration is located in /etc/fstab.
  • Restart the nfs-server service with systemctl restart nfs-server.
  • Now you can retry entering the path for the NFS mount in the setup wizard.
errornfsvcd

VCDA - Operation canceled

Connecting to Cloud Director using API Token

Recent Posts

  • Quota warning deploying Cloud Director vApp
  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…

Recent Comments

Geen reacties om te tonen.

Archives

  • mei 2025
  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.