Closed netzzer closed 6 years ago
This typo appears corrected upstream, but still present in downstream...
# grep cassanda /usr/share/ansible/openshift-ansible/roles/openshift_metrics/tasks/generate_cassandra_pvcs.yaml
storage_class_name: "{{ openshift_metrics_cassanda_pvc_storage_class_name | default('', true) }}"
storage_class_name: "{{ openshift_metrics_cassanda_pvc_storage_class_name | default('', true) }}"
# rpm -qf /usr/share/ansible/openshift-ansible/roles/openshift_metrics/tasks/generate_cassandra_pvcs.yaml
openshift-ansible-roles-3.9.30-1.git.7.46f8678.el7.noarch
Fixed with PR#17
Turns out this option needs to have a typo in order to operate correctly, see below. If spelled correctly, cassandra vs cassanda, the specified storageclass is NOT used. Instead the default SC is used if it exists.
Correct option (typo=cassanda) openshift_metrics_cassanda_pvc_storage_class_name=''