Manager status is NotRunning when running viocli get deployment
The manager FQDN is showing photon-machine.local
Manager name should be its FQDN.
Environment
6.x, 7.x
Cause
DNS did not have the FQDN of the VIO Manager at time of firstboot. Forward and reverse lookup need to be working at the time of deployment. The hostname is put into certificates for apiserver and other components during first boot. It is not possible to change to a different master node name after deployment.
Resolution
Backup the VIO deployment.
Make sure DNS has the correct FQDN of the manager.
Re-deploy the vApp and the control plane using the proper FQDN of the manager.
Workaround:
Remove DNS entry for manager from DNS server
hostnamectl set-hostname photon-machine.local
systemctl restart kubelet
Now master node comes back to normal with photon-machine.local. This is due to the kubernetes configuration expecting the name.