Code Monkey home page Code Monkey logo

Comments (3)

Madhu-1 avatar Madhu-1 commented on June 6, 2024

@muecahit94 current GCS support kube 1.13+ version

to deploy in kube 1.12 may be you need to update driver register path in gcs deployment
from var/lib/kubelet/plugins_registry to var/lib/kubelet/plugins in https://github.com/gluster/gcs/blob/master/deploy/templates/gcs-manifests/gcs-fs-csi.yml.j2

from gcs.

muecahit94 avatar muecahit94 commented on June 6, 2024

there is plugins_registry at three places:

cat  templates/gcs-manifests/gcs-fs-csi.yml.j2 | grep var/lib/kubelet/plugins_registry
              value: /var/lib/kubelet/plugins_registry/org.gluster.glusterfs/csi.sock
            path: /var/lib/kubelet/plugins_registry/org.gluster.glusterfs
            path: /var/lib/kubelet/plugins_registry/

when I change this part:

        - name: registration-dir
          hostPath:
            path: /var/lib/kubelet/plugins/
            type: Directory

I got this error on csi-nodeplugin:

I0212 17:14:04.271438 1 main.go:111] Version: v1.0.1-0-g27703026
I0212 17:14:04.271552 1 main.go:118] Attempting to open a gRPC connection with: "/plugin/csi.sock"
I0212 17:14:04.271570 1 connection.go:69] Connecting to /plugin/csi.sock
I0212 17:14:04.272055 1 connection.go:96] Still trying, connection is CONNECTING
I0212 17:14:04.272383 1 connection.go:93] Connected
I0212 17:14:04.272401 1 main.go:126] Calling CSI driver to discover driver name.
I0212 17:14:04.272421 1 connection.go:137] GRPC call: /csi.v1.Identity/GetPluginInfo
I0212 17:14:04.272430 1 connection.go:138] GRPC request: {}
I0212 17:14:04.276837 1 connection.go:140] GRPC response: {"name":"org.gluster.glusterfs","vendor_version":"1.0.0"}
I0212 17:14:04.277597 1 connection.go:141] GRPC error: <nil>
I0212 17:14:04.277608 1 main.go:134] CSI driver name: "org.gluster.glusterfs"
I0212 17:14:04.277630 1 main.go:138] Loading kubeconfig.
I0212 17:14:04.277943 1 node_register.go:55] Calling CSI driver to discover node ID.
I0212 17:14:04.277976 1 connection.go:137] GRPC call: /csi.v1.Node/NodeGetInfo
I0212 17:14:04.277984 1 connection.go:138] GRPC request: {}
I0212 17:14:04.279040 1 connection.go:140] GRPC response: {"node_id":"hostname"}
I0212 17:14:04.279609 1 connection.go:141] GRPC error: <nil>
I0212 17:14:04.279616 1 node_register.go:63] CSI driver node ID: "hostname"
I0212 17:14:04.279696 1 node_register.go:86] Starting Registration Server at: /registration/org.gluster.glusterfs-reg.sock
I0212 17:14:04.279778 1 node_register.go:93] Registration Server started at: /registration/org.gluster.glusterfs-reg.sock
I0212 17:14:04.280374 1 main.go:84] Received GetInfo call: &InfoRequest{}
I0212 17:14:04.282779 1 main.go:94] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty,}
E0212 17:14:04.282897 1 main.go:96] Registration process failed with error: plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty, restarting registration container.

from gcs.

muecahit94 avatar muecahit94 commented on June 6, 2024

is there no way to deploy gcs on a kubernetes version 1.12.x ?

Pls give me some tips, what i could try out.

from gcs.

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.