Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pvc is not getting bound. #62

Open
Goutami-Gowda opened this issue Jan 4, 2022 · 3 comments
Open

pvc is not getting bound. #62

Goutami-Gowda opened this issue Jan 4, 2022 · 3 comments

Comments

@Goutami-Gowda
Copy link

Goutami-Gowda commented Jan 4, 2022

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:"https://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
Copy link
Author

any help on this issue?

@blecx
Copy link

blecx commented Feb 22, 2022

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.

@matteius
Copy link

matteius commented May 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants