csi-s3 icon indicating copy to clipboard operation
csi-s3 copied to clipboard

pvc is not getting bound.

Open Goutami-Gowda opened this issue 2 years ago • 3 comments

PVC remains in pending state.

waiting for a volume to be created, either by external provisioner "ch.ctrox.csi.s3-driver" or manually created by system administrator

there is no error in provisioner logs

I0104 12:13:45.113578       1 driver.go:73] Driver: ch.ctrox.csi.s3-driver
I0104 12:13:45.113867       1 driver.go:74] Version: v1.2.0-rc.1
I0104 12:13:45.113884       1 driver.go:81] Enabling controller service capability: CREATE_DELETE_VOLUME
I0104 12:13:45.113896       1 driver.go:93] Enabling volume access mode: SINGLE_NODE_WRITER
I0104 12:13:45.114286       1 server.go:108] Listening for connections on address: &net.UnixAddr{Name:"//var/lib/kubelet/plugins/ch.ctrox.csi.s3-driver/csi.sock", Net:"unix"}
I0104 12:13:45.609226       1 utils.go:97] GRPC call: /csi.v1.Identity/Probe
I0104 12:13:45.611077       1 utils.go:97] GRPC call: /csi.v1.Identity/GetPluginInfo
I0104 12:13:45.611584       1 utils.go:97] GRPC call: /csi.v1.Identity/GetPluginCapabilities
I0104 12:13:45.611991       1 utils.go:97] GRPC call: /csi.v1.Controller/ControllerGetCapabilities

secret.yaml file. i even tried commenting the region i have created secret with minio as endpoint

kind: Secret
metadata:
  namespace: kube-system
  name: csi-s3-secret
stringData:
  accessKeyID: *
  secretAccessKey: *
  # For AWS set it to "https://s3.<region>.amazonaws.com"
  endpoint: https://*
  # If not on S3, set it to ""
#  region: ""

Goutami-Gowda avatar Jan 04 '22 12:01 Goutami-Gowda

any help on this issue?

Goutami-Gowda avatar Jan 05 '22 09:01 Goutami-Gowda

Well you should have the right information for fill in the template:

username => accessKeyID: password => secretAccessKey:

endpoint > the URI to you S3 or S3 compatible storage. If you don't have TLS configured you may switch to http. For example when running minio you can run it without TLS configuration

You may use a S3 explorer or the minio-client (mc) and check the values before. This is what is done with the alias in mc.

blecx avatar Feb 22 '22 16:02 blecx

I am also having this issue trying to get this setup on DigitalOcean.

matteius@matteius-VirtualBox:~/csi-s3/deploy/kubernetes$ kubectl get pvc csi-s3-pvc
NAME         STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
csi-s3-pvc   Pending                                      csi-s3         54s

matteius avatar May 07 '22 22:05 matteius