Fixed here - https://github.com/kubernetes/kubernetes/pull/59466 . Guess we need to backport it.
Thanks Matthew and Hemanth for finding the upstream patch and and also backporting to 3.9. Brad, in SC, its just secret name, however later in the code path all configuration for provisioner was logged which is hided now by mentioned patch.
Hi, On OCP 3.11 with OCS 3.11.1(latest available builds), # oc version oc v3.11.16 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://dhcp46-189.lab.eng.blr.redhat.com:8443 openshift v3.11.16 kubernetes v1.11.0+d4cacc0 Created a pvc using the gluster-sc storage class. # oc get sc NAME PROVISIONER AGE glusterfs-registry-block gluster.org/glusterblock 36d glusterfs-sc kubernetes.io/glusterfs 5h glusterfs-storage kubernetes.io/glusterfs 1d # oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE pvc-bug-1 Bound pvc-65ca25b6-ed5a-11e8-aec7-005056a528b6 4Gi RWO glusterfs-sc 5h pvc-bug-2 Bound pvc-a88ef5a3-ed78-11e8-aec7-005056a528b6 5Gi RWO glusterfs-sc 1h pvc-bug-3 Bound pvc-0ef48781-ed85-11e8-bae2-005056a528b6 2Gi RWO glusterfs-sc 22m On checking in the master-controller logs, HEKETI_ADMIN_KEY value can be found. ------------- Snippet from master-controller logs -------- EnvFrom:[]v1.EnvFromSource(nil), Env:[]v1.EnvVar{v1.EnvVar{Name:"HEKETI_USER_KEY", Value:"heketiuserkey", ValueFrom:(*v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"HEKETI_ADMIN_KEY", Value:"adminkey", ValueFrom:(*v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"HEKETI_EXECUTOR", Value:"kubernetes", ValueFrom:(*v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"HEKETI_FSTAB", Value:"/var/lib/heketi/fstab" ------------- End of snippet ------------------------- Moving this bug back to assigned state.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0291