-
Notifications
You must be signed in to change notification settings - Fork 20
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
Creating PVs fails when Openstack has multiple compute AZs, but only one storage AZ #74
Comments
This config value has to be set: https://registry.terraform.io/providers/rancher/rke/latest/docs/resources/cluster#ignore_volume_az |
Option added in v0.5.4 release, can you confirm it's working as desired ? |
No, its not working:
|
Ok, I think I found out why it is not working: According to https://kubernetes.io/docs/concepts/storage/storage-classes/#openstack-cinder you need to specify
when creating the storage class for cinder, otherwise ...
So, in my case the node (Openstack compute) AZs are ams-a, ams-b, ams-c. But the storage AZ is ams. But instead of using ams, the storage class tries to create one in ams-a, -b or -c, unless the parameter "availabilty" is set. unfortunately I don't see any option to control provider_rke to create this option when setting up the cluster. Edit:
|
I think it should be set by |
Creating PVs fails, wehen installing in an openstack environment, where you have multiple AZs for compute (e.g. ams-a, ams-b, ams-c) but only one for storage (e.g. nova). Kubernetes tries to create them in the compute AZs, which openstack doesn't allow.
There is a solution in openshift/installer#2844 (comment)
Especially you need the "ignore_volume_az" option in cloud provider config.
The text was updated successfully, but these errors were encountered: