Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-38874

OpenShift internal registry panic when deploying OpenShift on AWS ap-southeast-5 region

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.15.z
    • Image Registry
    • Critical
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      OpenShift internal registry panics when deploying OpenShift on AWS ap-southeast-5 region    

      Version-Release number of selected component (if applicable):

      OpenShift 4.15.29    

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Deploy OpenShift 4.15.29 on AWS ap-southeast-5 region
          2. The cluster gets deployed but the image-registry Operator is not available and image-registry pods get in CrashLoopBackOff state
          

      Actual results:

      panic: invalid region provided: ap-southeast-5goroutine 1 [running]:
      github.com/distribution/distribution/v3/registry/handlers.NewApp({0x2983cd0?, 0xc00005c088?}, 0xc000640c00)
          /go/src/github.com/openshift/image-registry/vendor/github.com/distribution/distribution/v3/registry/handlers/app.go:130 +0x2bf1
      github.com/openshift/image-registry/pkg/dockerregistry/server/supermiddleware.NewApp({0x2983cd0, 0xc00005c088}, 0x0?, {0x2986620?, 0xc000377560})
          /go/src/github.com/openshift/image-registry/pkg/dockerregistry/server/supermiddleware/app.go:96 +0xb9
      github.com/openshift/image-registry/pkg/dockerregistry/server.NewApp({0x2983cd0?, 0xc00005c088}, {0x296fa38?, 0xc0008e4148}, 0xc000640c00, 0xc000aa6140, {0x0?, 0x0})
          /go/src/github.com/openshift/image-registry/pkg/dockerregistry/server/app.go:138 +0x485
      github.com/openshift/image-registry/pkg/cmd/dockerregistry.NewServer({0x2983cd0, 0xc00005c088}, 0xc000640c00, 0xc000aa6140)
          /go/src/github.com/openshift/image-registry/pkg/cmd/dockerregistry/dockerregistry.go:212 +0x38a
      github.com/openshift/image-registry/pkg/cmd/dockerregistry.Execute({0x2968300, 0xc000666408})
          /go/src/github.com/openshift/image-registry/pkg/cmd/dockerregistry/dockerregistry.go:166 +0x86b
      main.main()
          /go/src/github.com/openshift/image-registry/cmd/dockerregistry/main.go:93 +0x496
          

      Expected results:

      image-resgistry Operator and pods are available    

      Additional info:

      We can asume the results will be the same while deploying on 4.16 and 4.17 but can't be tested yet as only 4.15 is working in this region. Will open another bug for the Installer to solve the issues while deploying on this region     

              fmissi Flavian Missi
              mak.redhat.com Marcos Entenza Garcia
              Wen Wang Wen Wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: