Giter Site home page Giter Site logo

Comments (5)

kirankt avatar kirankt commented on July 2, 2024

Also, I'm using OCP11:

[root@kt-c7kb9 contrib]# oc version
oc v3.11.0-alpha.0+e0f1909-460
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://127.0.0.1:8443
openshift v3.11.0-alpha.0+bb11f51-481
kubernetes v1.11.0+d4cacc0

from ember-csi.

Akrog avatar Akrog commented on July 2, 2024

This is a communication issue between kubelet and the Node side of the CSI plugin. Kubelet cannot establish the GRPC connection with the CSI plugin to call NodeStageVolume.

I can think of a couple of reasons why this can happen:

  • Wrong provisioner set somewhere: Check StorageClass and the provisioner parameter passed to the external provisioner.
  • Wrong socket path: Check the socket path of the Node CSI plugin container or the CSI container if running a Controller+Node deployment.

from ember-csi.

kirankt avatar kirankt commented on July 2, 2024

Hi,
Thanks for the suggestion. As you pointed out, everything looks great when the CSI_MODE is 'all'. When they are separated, I don't see any activity in the driver while using "node" mode. Let me dig a little further to provide you more details.

from ember-csi.

kirankt avatar kirankt commented on July 2, 2024

I've gone past this issue. On OCP, the CSI driver should host mount /var/lib/origin/openshift.local.volumes rather than /var/lib/kubelet. Interesting to note that the CSI socket directory still resides in /var/lib/kubevirt e.g. /var/lib/kubelet/plugins/com.redhat.cinderlib-csi

from ember-csi.

Akrog avatar Akrog commented on July 2, 2024

Thank you very much for the info, and that is certainly odd, I'll have a look and see where does that difference come from.

If you are splitting the plugin into controller and node services, you may be interested in looking into the manifests I have in the new Kubernetes demo (in the kubeyml directory) that are splitting the services: https://github.com/Akrog/cinderlib-csi/tree/master/examples/kubernetes

from ember-csi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.