Hide Forgot
Description of problem: Image Repository cannot update to user-defined externalRegistryHostnames when there is no default route (enabled at first then disabled): $ oc get routes NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD myroute user-route-openshift-image-registry.apps.xiuwang.qe.devcluster.openshift.com image-registry <all> reencrypt None $ oc get is -n openshift NAME IMAGE REPOSITORY TAGS UPDATED apicast-gateway default-route-openshift-image-registry.apps.qe-xiuwang-408.qe.devcluster.openshift.com/openshift/apicast-gateway 2.1.0.GA,2.2.0.GA,2.3.0.GA,2.4.0.GA + 1 more... 6 hours ago apicurito-ui default-route-openshift-image-registry.apps.qe-xiuwang-408.qe.devcluster.openshift.com/openshift/apicurito-ui 1.2 6 hours ago cli default-route-openshift-image-registry.apps.qe-xiuwang-408.qe.devcluster.openshift.com/openshift/cli latest 6 hours ago Version-Release number of selected component (if applicable): 4.0.0-0.nightly-2019-04-05-165550 $ oc get pods/image-registry-64c75dc575-2lmpm -o yaml | grep imageID quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:7dbbfe4476239742854a624b012f75a2737846999404bc2d33630c6bd2066e18 How reproducible: Always Steps to Reproduce: 1.Enable default routes $oc patch configs.imageregistry.operator.openshift.io cluster -p '{"spec":{"defaultRoute":true}}' --type='merge' -n openshift-image-registry $oc get routes -n openshift-image-registry 2.Create additional routes by populating spec.Routes with additional routes $oc edit configs.imageregistry.operator.openshift.io spec: routes: - hostname: user-route-openshift-image-registry.apps.xiuwang.qe.devcluster.openshift.com name: myroute secretName: "" 3.Disable default route $oc patch configs.imageregistry.operator.openshift.io cluster -p '{"spec":{"defaultRoute":false}}' --type='merge' -n openshift-image-registry 4.$ oc get is -n openshift Actual results: It still uses default-route-openshift-image-registry.apps.xxxxx. Expected results: Should update to user-route-openshift-image-registry.apps.xiuwang.qe.devcluster.openshift.com. Additional info:
I cannot reproduce it now, so moving to verified:4.0.0-0.ci-2019-04-10-002527
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/RHBA-2019:0758