Coder Social home page Coder Social logo

Comments (3)

rpersee avatar rpersee commented on June 12, 2024

Logs shows that the container can't find the file /etc/kubernetes/cloud.conf:

$ kubectl logs -n kube-system pod/openstack-cinder-csi-nodeplugin-bc8ql -c cinder-csi-plugin
I0710 09:22:16.032575       1 driver.go:81] Driver: cinder.csi.openstack.org
I0710 09:22:16.032656       1 driver.go:82] Driver version: 2.0.0@
I0710 09:22:16.032660       1 driver.go:83] CSI Spec version: 1.3.0
I0710 09:22:16.032672       1 driver.go:115] Enabling controller service capability: LIST_VOLUMES
I0710 09:22:16.032805       1 driver.go:115] Enabling controller service capability: CREATE_DELETE_VOLUME
I0710 09:22:16.032818       1 driver.go:115] Enabling controller service capability: PUBLISH_UNPUBLISH_VOLUME
I0710 09:22:16.032822       1 driver.go:115] Enabling controller service capability: CREATE_DELETE_SNAPSHOT
I0710 09:22:16.032825       1 driver.go:115] Enabling controller service capability: LIST_SNAPSHOTS
I0710 09:22:16.032828       1 driver.go:115] Enabling controller service capability: EXPAND_VOLUME
I0710 09:22:16.032830       1 driver.go:115] Enabling controller service capability: CLONE_VOLUME
I0710 09:22:16.032834       1 driver.go:115] Enabling controller service capability: LIST_VOLUMES_PUBLISHED_NODES
I0710 09:22:16.032857       1 driver.go:115] Enabling controller service capability: GET_VOLUME
I0710 09:22:16.032870       1 driver.go:125] Enabling volume access mode: SINGLE_NODE_WRITER
I0710 09:22:16.032874       1 driver.go:135] Enabling node service capability: STAGE_UNSTAGE_VOLUME
I0710 09:22:16.032878       1 driver.go:135] Enabling node service capability: EXPAND_VOLUME
I0710 09:22:16.032895       1 driver.go:135] Enabling node service capability: GET_VOLUME_STATS
I0710 09:22:16.033085       1 openstack.go:152] InitOpenStackProvider configFiles: [/etc/kubernetes/cloud.conf]
E0710 09:22:16.033183       1 openstack.go:105] Failed to open OpenStack configuration file: open /etc/kubernetes/cloud.conf: no such file or directory
E0710 09:22:16.033243       1 openstack.go:160] GetConfigFromFiles [/etc/kubernetes/cloud.conf] failed with error: open /etc/kubernetes/cloud.conf: no such file or directory
W0710 09:22:16.033265       1 main.go:106] Failed to GetOpenStackProvider: open /etc/kubernetes/cloud.conf: no such file or directory

The example HelmChart creates the config under /etc/kubernetes/cloud-config instead of /etc/kubernetes/cloud.conf, even with the filename: cloud.conf directive:

$ ls -la /etc/kubernetes/
total 4
drwxrwxrwt 3 root root  100 Jul 10 09:53 .
drwxr-xr-x 1 root root 4096 Jul 10 09:53 ..
drwxr-xr-x 2 root root   60 Jul 10 09:53 ..2023_07_10_09_53_05.3507171197
lrwxrwxrwx 1 root root   32 Jul 10 09:53 ..data -> ..2023_07_10_09_53_05.3507171197
lrwxrwxrwx 1 root root   19 Jul 10 09:53 cloud-config -> ..data/cloud-config

from terraform-openstack-rke2.

rpersee avatar rpersee commented on June 12, 2024

Fixed by: #56

from terraform-openstack-rke2.

remche avatar remche commented on June 12, 2024

Thanks @rpersee for your first contribution 🥳

from terraform-openstack-rke2.

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.