red-hat-storage / openshift-cic

CNS Inventory file Creator (CIC) , also works for OCS
GNU General Public License v3.0
31 stars 7 forks source link

[OCP 3.10] registry PV claimed from default SC #28

Closed netzzer closed 6 years ago

netzzer commented 6 years ago

Found new issue where if there is a default storageclass (i.e. gp2) then the registry PV is claimed from this SC instead of creating gluster volume and mounting to registry POD(s).

Options below were used. The registry POD did get correctly scheduled on the one infra node available but the volume was claimed from SC=gp2 which is created as default SC if cloud_provider_kind=aws.

openshift_cloudprovider_kind=aws

# registry
openshift_hosted_registry_storage_kind=glusterfs
openshift_hosted_registry_storage_volume_size=20Gi
openshift_hosted_registry_selector='node-role.kubernetes.io/infra=true'
netzzer commented 6 years ago

https://bugzilla.redhat.com/show_bug.cgi?id=1601083

netzzer commented 6 years ago

Fixed - https://bugzilla.redhat.com/show_bug.cgi?id=1593612

BZ was duplicate - https://bugzilla.redhat.com/show_bug.cgi?id=1601083