-
Notifications
You must be signed in to change notification settings - Fork 31
Unable to provision PVC with VCP on v1.11.0 #495
Comments
@ventris Can you check
|
@divyenpatel None of the servers have providerID set. There is an UUID but no providerID
listing the product_serial gives.
Neither externalID or providerID exists under spec in the json. I have validated against a system that runs debian and have a working vcp. It seems like these are the two fields that are missing. |
Inserting the provisionerID as a flag to the kubelet on all nodes makes you able to successfully create persistent volumes on RHEL.
It seems that on CentOS/RHEL you have to supply the --provider-id to the kubelet environment config as the kubelet wont find it by itself. Might be a bug in kublet itself. |
Here is a script that patches node info with the correct vmware id: |
The script works perfectly...! Thanks so much! |
I believe this is a duplicate |
/kind bug
What happened:
After setting up the storage provider and storage class, creating a claim results in errors on the controller and the pvc is stuck in status pending.
Errors in Controller manager log:
storageclass and persistentvolume yamls
Using the UUId that kubectl have I can get the vm.info from govc.
kubectl describe node | grep "System UUID"
System UUID: 4233947E-8539-977A-FE40-EF5573B6F3E1
govc vm.info -vm.uuid=4233947e-8539-977a-fe40-ef5573b6f3e1
Name:
Path:
UUID: 4233947e-8539-977a-fe40-ef5573b6f3e1
Guest name: Red Hat Enterprise Linux 7 (64-bit)
Memory: 12288MB
CPU: 3 vCPU(s)
Power state: poweredOn
Boot time: 2018-07-03 09:45:09.945151 +0000 UTC
IP address: 10.25.25.16
Host:
What you expected to happen:
Able to successfully create dynamic claims.
How to reproduce it (as minimally and precisely as possible):
CentOS
vsphere cloud provider
Anything else we need to know?:
Environment:
kubectl version
):vCenter 6.5, esxi 6.5, redhat 7.5
Red Hat Enterprise Linux Server 7.5 (Maipo)
uname -a
):3.10.0-862.el7.x86_64 WIP: Address lack of support within Kubernetes to consume vSphere managed storage #1 SMP Wed Mar 21 18:14:51 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: