Bug 1490738
| Summary: | "'openshift_hosted_registry_storage_swift_domainid' is undefined" error is seen when set openshift_hosted_registry_storage_provider to swift | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.7.0 | CC: | aos-bugs, jokerman, mmccomas, wmeng |
| Target Milestone: | --- | ||
| Target Release: | 3.7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Previously if the registry storage swift domain was not defined then an error was thrown. This variable is optional and the installer has been updated to correct the error.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-28 22:10:32 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
Johnny Liu
2017-09-12 07:28:30 UTC
Commit a PR to fix this bug - https://github.com/openshift/openshift-ansible/pull/5368 During testing, found registry_config.j2 also have one more minor issue, openshift_hosted_registry_storage_gcs_rootdirectory does not have a default value. Fix the minor issue in the same PR mentioned in comment 1. Verified this bug with openshift-ansible-3.7.0-0.148.0.git.0.b35eb14.el7.noarch, and PASS. setting ansible options for swift: openshift_hosted_registry_storage_swift_authurl=http://openshift-mtv2.lab.sjc.redhat.com:5000/v2.0/ openshift_hosted_registry_storage_swift_username=aaa openshift_hosted_registry_storage_swift_password=bbb openshift_hosted_registry_storage_swift_tenantid=ccc openshift_hosted_registry_storage_swift_region=RegionOne openshift_hosted_registry_storage_swift_container=osev3-docker-registry-data # oc rsh docker-registry-1-rs938 sh-4.2$ env|grep config REGISTRY_CONFIGURATION_PATH=/etc/registry/config.yml sh-4.2$ cat /etc/registry/config.yml version: 0.1 log: level: debug http: addr: :5000 storage: delete: enabled: true cache: blobdescriptor: inmemory swift: authurl: http://openshift-mtv2.lab.sjc.redhat.com:5000/v2.0/ username: aaa password: bbb container: osev3-docker-registry-data region: RegionOne tenantid: ccc auth: openshift: realm: openshift middleware: registry: - name: openshift repository: - name: openshift options: pullthrough: True acceptschema2: True enforcequota: False storage: - name: openshift 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/RHSA-2017:3188 |