Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-2531

RH-SSO 7.6.3 operator failing to deploy postgresSQL pod

XMLWordPrintable

      1. Issue description

      When trying to deploy RH-SSO 7.6.3 operator, the posgresSQL pod is not coming up

      2. Troubleshooting done

      oc get pods
      NAME READY STATUS RESTARTS AGE
      keycloak-0 0/1 Running 3 (5m20s ago) 23m
      keycloak-postgresql-78fbd5bd6d-qq2rg 0/1 ImagePullBackOff 0 3m8s
      rhsso-operator-68dc844487-wnr6q 1/1 Running 0 25m

      The event log trace shows:

      Normal AddedInterface 3m39s multus Add eth0 [10.217.0.79/23] from openshift-sdn
      Normal Pulling 2m12s (x4 over 3m39s) kubelet Pulling image "registry.access.redhat.com/rhscl/postgresql-10-rhel7:1"
      Warning Failed 2m9s (x4 over 3m37s) kubelet Failed to pull image "registry.access.redhat.com/rhscl/postgresql-10-rhel7:1": rpc error: code = Unknown desc = Source image rejected: Running image docker://registry.access.redhat.com/rhscl/postgresql-10-rhel7:1 is rejected by policy.
      Warning Failed 2m9s (x4 over 3m37s) kubelet Error: ErrImagePull
      Warning Failed 107s (x6 over 3m37s) kubelet Error: ImagePullBackOff

      The image registry.access.redhat.com/rhscl/postgresql-10-rhel7:1 does not exist

      3. About postgresql-10 image

      It is defined within redHat catalog at URL

      https://catalog.redhat.com/software/containers/rhscl/postgresql-10-rhel7/5aa63541ac3db95f196086f1?container-tabs=gti

      The way to import is:
      oc import-image rhscl/postgresql-10-rhel7:1-173 --from=registry.redhat.io/rhscl/postgresql-10-rhel7:1-173 --confirm

      4. About postgres pod
      oc edit deployment.apps/keycloak-postgresql

      • name: POSTGRESQL_DATABASE
        value: root
        image: registry.access.redhat.com/rhscl/postgresql-10-rhel7:1
        imagePullPolicy: Always

      ===> It is pointing to an image that does not exist.

              pzaoral Peter Zaoral (Inactive)
              rhn-support-orivat Olivier Rivat
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: