Comments (3)
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.
Fixed by: #56
from terraform-openstack-rke2.
Thanks @rpersee for your first contribution 🥳
from terraform-openstack-rke2.
Related Issues (20)
- CI: remove DNS variables HOT 1
- Unregister node from RKE2 after agent deletion HOT 11
- Option for registries.yaml
- CI: doc generation broken HOT 2
- Octavia usage HOT 1
- "module.controlplane.null_resource.write_kubeconfig[0] (remote-exec): Waiting for rke2 to start" keeps looping for ever HOT 9
- Local Exec does not use specified ssh key HOT 1
- Strange hardcoded IPS in cloud-init template HOT 2
- Sensitive outputs? HOT 1
- Use cluster name for context
- Ability to use existing network HOT 2
- config.toml template and base64 HOT 2
- switch to Invicton-Labs/terraform-external-shell-resource HOT 5
- document how upgrades work HOT 4
- cloud-init.yml.tpl: operator precedence wrong on JQ installation magic. HOT 2
- Support for using existing networks and not using floating ip? HOT 3
- Support creation of separated bastion host HOT 2
- Support load balancers to expose API HOT 7
- ssh_keypair_name and ssh_key_file variable logical conflict when write_kubeconfig is set true ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-openstack-rke2.