Restoring failed state of VCF Automation using Fleet manager results in an interruption to the PowerShell plugin authenticating using Kerberos.
Error in (Workflow:Invoke a PowerShell script / Invoke script (item0)#4) Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)
INFO WinRM Error
VCF Automation 9.0.x
Kerberos configuration (`krb5.conf`) is not being backed up and, consequently, is not restored.
This is a known issue and going to be fixed in VCF Automation 9.2
Workarounds:
sudo -i
export KUBECONFIG=/etc/kubernetes/admin.confkubectl -n prelude exec -it vco-app-0 -c vco-server-app -- bash
touch /usr/lib/vco/app-server/conf/krb5.conf
nano /usr/lib/vco/app-server/conf/krb5.conf
cat << EOF > /usr/lib/vco/app-server/conf/krb5.conf
[libdefaults]
default_realm = YOURDOMAIN.COM
[realms]
YOURDOMAIN.COM = {
kdc = dc.yourdomain.com
default_domain = yourdomain.com
}
[domain_realm]
.yourdomain.com=YOURDOMAIN.COM
yourdomain.com=YOURDOMAIN.COM
EOFvco-app-1, vco-app-2