vsphere-integrator pvc stuck in pending

Bug #1921068 reported by Kevin W Monroe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Medium
Kevin W Monroe

Bug 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, 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.

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Changed in charm-kubernetes-master:
assignee: nobody → Kevin W Monroe (kwmonroe)
status: New → In Progress
Changed in charm-kubernetes-master:
milestone: none → 1.21
tags: added: review-needed
description: updated
George Kraft (cynerva)
Changed in charm-kubernetes-master:
importance: Undecided → Medium
George Kraft (cynerva)
tags: removed: review-needed
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.