Bug 2082492
Summary: | [IPI IBM]Can't create image-registry-private-configuration secret with error "specified resource key credentials does not contain HMAC keys" | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> |
Component: | Image Registry | Assignee: | Oleg Bulatov <obulatov> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.11 | CC: | chaoyang, clnperez, cschaefe, maxu, rvanderp |
Target Milestone: | --- | ||
Target Release: | 4.11.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 11:10:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2077419, 2083559 |
Comment 1
Christopher J Schaefer
2022-05-06 15:02:03 UTC
checked with ocp-release:4.10.9-x86_64 message: 'Progressing: Unable to apply resources: unable to apply objects: failed to create object *v1.Secret, Namespace=openshift-image-registry, Name=image-registry-private-configuration: specified resource key credentials does not contain HMAC keys' reason: Error status: "True" type: Progressing $ oc get co image-registry -o yaml .... message: 'Progressing: Unable to apply resources: unable to apply objects: failed to create object *v1.Secret, Namespace=openshift-image-registry, Name=image-registry-private-configuration: specified resource key credentials does not contain HMAC keys' reason: Error but check the nightly ci test record, 4.10.9-x86_64 pass. http://virt-openshift-05.lab.eng.nay.redhat.com/ci-logs/Flexy-install/93096/log Sounds like the recent change to IBM COS permissions is likely the cause. https://cloud.ibm.com/docs/overview?topic=overview-whatsnew Tested adding Admin role to the CIRO CR https://github.com/openshift/cluster-image-registry-operator/pull/776 And looks like things are working better. I tested on 4.11 and we'll need to cherry-pick it back to 4.10 as well # oc --kubeconfig cluster-deploys/cjs-test-72/auth/kubeconfig get co NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE authentication 4.11.0-0.ci-2022-05-09-061049 True False False 6m23s baremetal 4.11.0-0.ci-2022-05-09-061049 True False False 24m cloud-controller-manager 4.11.0-0.ci-2022-05-09-061049 True False False 29m cloud-credential 4.11.0-0.ci-2022-05-09-061049 True False False 23m cluster-autoscaler 4.11.0-0.ci-2022-05-09-061049 True False False 23m config-operator 4.11.0-0.ci-2022-05-09-061049 True False False 26m console 4.11.0-0.ci-2022-05-09-061049 True False False 12m csi-snapshot-controller 4.11.0-0.ci-2022-05-09-061049 True False False 25m dns 4.11.0-0.ci-2022-05-09-061049 True False False 23m etcd 4.11.0-0.ci-2022-05-09-061049 True False False 23m image-registry 4.11.0-0.ci-2022-05-09-061049 True False False 16m ingress 4.11.0-0.ci-2022-05-09-061049 True False False 14m Test https://github.com/openshift/cluster-image-registry-operator/pull/776 along with openshift/cluster-cloud-controller-manager-operator/pull/189, the image registry could be installed during installataion. Could push or pull image to the image registry. 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069 |