Failed to install cluster on eu-south-1 af-south-1 region, due to image-registry error: oc logs image-registry-7b87d7f456-fn9xk -n openshift-image-registry time="2020-09-24T02:35:36.847697769Z" level=info msg="start registry" distribution_version=v2.6.0+unknown go.version=go1.15.0 openshift_version=4.6.0-202009221732.p0-e9436f5 time="2020-09-24T02:35:36.848181465Z" level=info msg="caching project quota objects with TTL 1m0s" go.version=go1.15.0 panic: Invalid region provided: af-south-1 goroutine 1 [running]: github.com/docker/distribution/registry/handlers.NewApp(0x1ed2520, 0xc00012e010, 0xc00039ee00, 0xc0004b7710) /go/src/github.com/openshift/image-registry/vendor/github.com/docker/distribution/registry/handlers/app.go:127 +0x3155 github.com/openshift/image-registry/pkg/dockerregistry/server/supermiddleware.NewApp(0x1ed2520, 0xc00012e010, 0xc00039ee00, 0x1edb320, 0xc00057d290, 0x1edea00) /go/src/github.com/openshift/image-registry/pkg/dockerregistry/server/supermiddleware/app.go:96 +0x87 github.com/openshift/image-registry/pkg/dockerregistry/server.NewApp(0x1ed2520, 0xc00012e010, 0x1e9e4e0, 0xc0001325d8, 0xc00039ee00, 0xc0001388c0, 0x0, 0x0, 0xc0004b6210, 0xc00061f818) /go/src/github.com/openshift/image-registry/pkg/dockerregistry/server/app.go:138 +0x2cd github.com/openshift/image-registry/pkg/cmd/dockerregistry.NewServer(0x1ed2520, 0xc00012e010, 0xc00039ee00, 0xc0001388c0, 0x0, 0x0, 0x1ef5fc0) /go/src/github.com/openshift/image-registry/pkg/cmd/dockerregistry/dockerregistry.go:210 +0x1ce github.com/openshift/image-registry/pkg/cmd/dockerregistry.Execute(0x1e8fc20, 0xc000132028) /go/src/github.com/openshift/image-registry/pkg/cmd/dockerregistry/dockerregistry.go:164 +0xa3e main.main() /go/src/github.com/openshift/image-registry/cmd/dockerregistry/main.go:93 +0x4b3 Version-Release number of the following components: 4.6.0-0.nightly-2020-09-23-022756 How reproducible: Always Steps to Reproduce: 1. Create 4.6 cluster in eu-south-1 or af-south-1 Actual results: panic: Invalid region provided: af-south-1 Expected results: image-registry operator is avaliable and cluster can be installed successfully Additional info: eu-south-1/af-south-1/ap-east-1 are three regions that has no public RHCOS AMI and are not listed in TUI, but ap-east-1 has no such issue. Accouding to document [1], the RHCOS AMI image is copied from us-east-1 level=debug msg="aws_ami_copy.imported[0]: Creating..." <--SNIP--> level=debug msg="aws_ami_copy.imported[0]: Creation complete after 5m17s [id=ami-05e89e6d157b289e5]" [1] https://github.com/openshift/enhancements/pull/163/files#diff-b6a7e34af40d81a977a31247b107348eR63
verified on eu-south-1/af-south-1/ap-east-1 regions. PASS. version: 4.6.0-0.nightly-2020-09-26-202331
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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196