-
Notifications
You must be signed in to change notification settings - Fork 29
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
os_cinder.yaml.tpl doesn't mount correctly the cloud.conf in /etc/kubernetes in CSI container #71
Comments
@radumalica thanks for the report ! I would not be able to test in the next few days but I bet there were some changes in CCM helm chart that broke this example that is pretty old... |
It seems that the new chart added in values.yaml new stuff:
In particular The logic for the pod in the chart is as follows:
So if secrets are enabled (which they are) and create is also enabled it gets the secret from secret.name which is correctly deployed on kubernetes secrets once the cluster is ready. else if I am going to try to deploy again with BTW latest chart that gets installed is 2.30 and app version is 1.30
|
Sorry about that, there was a naming issue between two of the Openstack operators that I fixed a while ago and it looks like I didn't update it here. |
I did deploy again without hostMount: true and it doesn't work. I had to manually create /etc/kubernetes on master and all workers and create the cloud.conf file there. After that the cinder-csi pods went online and running. This is because the helm template adds args to csi plugin as There is also one more thing missing which i think needs another issue, for example in my Openstack deployment with Juju and Vault, all endpoints have self signed certificate provided by Vault including Keystone auth. In this case, there is another parameter that needs to be pushed to both CSI plugin and OCCM which is ca-file=/path/to/cr cinder-csi-plugin from helm template:
same goes for oCCM:
As you can also see here, the OCCM comes by default with cloud provider openstack, which is the in-tree setup for OCCM. It should be configured with cloud-provider=external. There is a migration document on how to do that with kubeadm deployed setups, but that process is not applicable to RKE2 setup. The above paths mounted to |
Here are the Helm charts, versions and values that I use for my deployments of the I'm using the Helm charts straight off the shelf without any crazy configurations.
|
@powellchristoph maybe you can post a little howto for deploying the helm charts customized in the context of this repo, I am an experienced Cloud Infra Eng and devops guy, but I think some instructions will help other people which are not so deep in troubleshooting. Thank you |
I have deployed RKE2 using the example with CCM, adding my variables as stated in the docs, ssh key, floating ips and so on.
Deployed with 1 master and 3 workers. Everything gets running properly except the pods related to CSI plugin with the following error:
The mount exists on the container:
Mounts:
Result is:
The text was updated successfully, but these errors were encountered: