Comments (4)
I just ran the commands using the latest (which is code changes that include this PR #136) and I don't see the problem. There were some updates to the YAML that affected permissions which could account for this. Recommend re-verifying after the PR gets merged.
[vonthd@k8smaster csi]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:39:04Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:31:33Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
[vonthd@k8smaster csi]$ kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-fba35f4e-296d-11e9-84f7-005056a741a8 5Gi RWO Delete Bound default/vsphere-csi-pvc vsphere-fcd 13s
[vonthd@k8smaster csi]$ kubectl describe pv
Name: pvc-fba35f4e-296d-11e9-84f7-005056a741a8
Labels: <none>
Annotations: pv.kubernetes.io/provisioned-by: io.k8s.cloud-provider-vsphere.vsphere
Finalizers: [kubernetes.io/pv-protection]
StorageClass: vsphere-fcd
Status: Bound
Claim: default/vsphere-csi-pvc
Reclaim Policy: Delete
Access Modes: RWO
VolumeMode: Filesystem
Capacity: 5Gi
Node Affinity: <none>
Message:
Source:
Type: CSI (a Container Storage Interface (CSI) volume source)
Driver: io.k8s.cloud-provider-vsphere.vsphere
VolumeHandle: 50bdf1e7-3545-4751-8370-7c724c4339aa
ReadOnly: false
VolumeAttributes: datacenter=vic1dc
name=pvc-fba35f4e-296d-11e9-84f7-005056a741a8
owning_datastore=shared-iscsi1-datastore-2
parent_name=iscsi1-cluster
parent_type=DatastoreCluster
storage.kubernetes.io/csiProvisionerIdentity=1549388801939-8081-io.k8s.cloud-provider-vsphere.vsphere
type=First Class Disk
vcenter=10.161.60.78
Events: <none>
[vonthd@k8smaster csi]$
from cloud-provider-vsphere.
/assign dvonthenen
from cloud-provider-vsphere.
PR #136 was merged a few days ago. Please give it a try and see if it fixes your issue. Note the instructions below.
- reinstall the CSI driver by grabbing/updating the YAML (fixed permissions) in its deployment
- the YAML deploys
v0.1.1
of the driver… so you will need to change the image tolatest
within the YAML in 2 places until a new tag becomes available - fairly detailed documentation was created for multi-vc/dc and zones support: https://github.com/kubernetes/cloud-provider-vsphere/blob/master/docs/deploying_ccm_and_csi_with_multi_dc_vc_aka_zones.md
from cloud-provider-vsphere.
After applying fix mentioned at #135 (comment)
I am able to retrive pv and pvc using kubectl get
# kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
my-vsphere-csi-pvc Bound pvc-48a3a1e3-3177-11e9-a630-00505690e9f4 5Gi RWO my-vsphere-fcd-class 14m
# kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
pvc-48a3a1e3-3177-11e9-a630-00505690e9f4 5Gi RWO Delete Bound default/my-vsphere-csi-pvc my-vsphere-fcd-class 13m
from cloud-provider-vsphere.
Related Issues (20)
- Upgrade kubernetes version in CI config for each release
- cloud-provider-vsphere/cpi/release/manager:v1.28.0 has HIGH vulnerability CVE-2023-44487 HOT 3
- Restart paravirtual CPI POD if /etc/cloud/ccm-provider related secret changes
- Adding a clusterID and using on useragent HOT 2
- Kubernetes 1.29 support HOT 4
- Golang 1.21 support for vsphere CPI HOT 4
- Job pull-cloud-provider-vsphere-e2e-test Logging Enhancement HOT 1
- mdlint image is hosted in a VMware-owned registry HOT 2
- shellcheck image is hosted in a VMware-owned registry HOT 1
- Remove controller-runtime dependency HOT 2
- Remove controller-runtime dependency in paravirtual mode code HOT 3
- Remove controller-runtime dependency in unit tests HOT 2
- Remove controller-runtime dependency in pkg/cloudprovider/vsphereparavirtual/zone_test.go and zone.go
- Remove controller-runtime dependency in pkg/cloudprovider/vsphereparavirtual/vmservice_test.go and vmservice.go
- Remove controller-runtime dependency in pkg/cloudprovider/vsphereparavirtual/types.go and fake_client_wrapper.go
- Switch from archived vm-operator-api repo to vm-operator repo HOT 1
- Use Informer Cache For NSX-Operator and VM-Operator HOT 1
- Change to use dynamic client for NSX Operator API HOT 1
- Dependabot for release branches HOT 1
- CPI Cloud Controller Manager fails due to "listen tcp 0.0.0.0:10260: bind: address already in use" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-provider-vsphere.