Bug 1969374
Summary: | [OSP] Document how to update domain for image registry in version <4.8 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fedosin <mfedosin> |
Component: | Installer | Assignee: | Mike Fedosin <mfedosin> |
Installer sub component: | OpenShift on OpenStack | QA Contact: | Itzik Brown <itbrown> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | itbrown, suchaudh |
Version: | 4.8 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.9.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: | 2021-10-18 17:33:16 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: |
Description
Mike Fedosin
2021-06-08 10:13:21 UTC
Verified in: 4.6.0-0.nightly-2021-07-09-014429 4.7.0-0.nightly-2021-07-28-033356 RHOS-16.1-RHEL-8-20210323.n.0 How I verified: $ oc get edit -n kube-system openstack-credentials -oyaml I changed the value of clouds.yaml - user_domain_name: Default to user_domain_name: Default1 (Default1 domain doesn't exist). This was done by first decoding the value in clouds.yaml, changing the user_domain_name and encoding it again (baste64 decoder/encoder) $ oc get secret -n openshift-image-registry installer-cloud-credentials -oyaml This had the same user_domain_name: Default1 $ oc get configs.imageregistry.operator.openshift.io/cluster -oyaml This was still the old one ... swift: authURL: https://10.46.43.10:13000/v3 authVersion: "3" container: ostest-k6g55-image-registry-tkjpdwqgbsdstkcnklmwnmnypihqwduddy domain: Default ... $ oc patch configs.imageregistry.operator.openshift.io/cluster --type 'json' -p='[{"op": "remove", "path": "/spec/storage/swift/domain"}]' config.imageregistry.operator.openshift.io/cluster patched $ oc get configs.imageregistry.operator.openshift.io/cluster -oyaml This should have the faulty user_domain_name ... swift: authURL: https://10.46.43.10:13000/v3 authVersion: "3" container: ostest-k6g55-image-registry-tkjpdwqgbsdstkcnklmwnmnypihqwduddy domain: Default1 ... $ 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 (Moderate: OpenShift Container Platform 4.9.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-2021:3759 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |