2021-03-24 13:14:27 |
Kevin W Monroe |
description |
With CK 1.20 and juju 2.8.9, I deployed and configured the vsphere-integrator charm like this:
https://ubuntu.com/kubernetes/docs/1.20/charm-vsphere-integrator
PVCs were getting stuck in Pending, with kubectl describe showing this Warning:
Warning ProvisioningFailed 29m (x8 over 33m) persistentvolume-controller Failed to provision volume with StorageClass "mystorage": ServerFaultCode: Cannot complete login due to an incorrect user name or password.
I stumbled across this:
https://kb.vmware.com/s/article/67650
And (at the time), my vsphere password had a '#' in it. About 5 minutes after I quoted the password in the cloud-config.conf for apiserver and controller-manager snaps, kubecsct describe showed this:
Normal ProvisioningSucceeded 28m persistentvolume-controller Successfully provisioned volume pvc-377d28be-7d28-479f-9052-43b159cc0ae9 using kubernetes.io/vsphere-volume
The k8s-master charm should quote the password when creating the conf. |
With CK 1.20 and juju 2.8.9, I deployed and configured the vsphere-integrator charm like this:
https://ubuntu.com/kubernetes/docs/1.20/charm-vsphere-integrator
PVCs were getting stuck in Pending, with kubectl describe showing this Warning:
Warning ProvisioningFailed 29m (x8 over 33m) persistentvolume-controller Failed to provision volume with StorageClass "mystorage": ServerFaultCode: Cannot complete login due to an incorrect user name or password.
I stumbled across this:
https://kb.vmware.com/s/article/67650
And (at the time), my vsphere password had a '#' in it. About 5 minutes after I quoted the password in the cloud-config.conf for apiserver and controller-manager snaps, kubectl describe showed this:
Normal ProvisioningSucceeded 28m persistentvolume-controller Successfully provisioned volume pvc-377d28be-7d28-479f-9052-43b159cc0ae9 using kubernetes.io/vsphere-volume
The k8s-master charm should quote the password when creating the conf. |
|