Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5774

RHOSP18 Dev Preview Feedback: Air gaped deployement with private quay registry fails

XMLWordPrintable

    • Icon: Ticket Ticket
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhos-18.0 Dev Preview 3
    • rhos-dev-preview
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?

      Context: air gaped env with a private registry.

      Following [1], after deploying openstack operators, all images are in pull error. It seems during the "opm index add" phase, our local registry is not taken into account.

      Commands and output:

      oc get pods -n openstack-operators
      NAME READY STATUS RESTARTS AGE
      09e2a9770492f5560e930698e53344b969fd76f4d8609802cc9c0c559c7phhp 0/1 Init:ImagePullBackOff 0 16s
      3b8dfb5bf50fefcc388181799c2fd028251ba79cd90c97c1583bab37c7psqxn 0/1 Init:ErrImagePull 0 11s
      3c4ab7aa62e61325641ee6d60937ea2c99048d6deb6938499462da6fe1j8fjw 0/1 Init:ErrImagePull 0 10s
      3cbdb8ca3939f943d34da1b263f7ef5208bb85a937863d5c6ac1e45e03nkwhc 0/1 Init:ErrImagePull 0 9s
      41f18f2e6bc415e3a3a7568685297f44472d10d766cff64a980493b9c72ww6t 0/1 Init:ErrImagePull 0 8s
      45011157978581688a65e175bdba6bbc05540f3cb5e9d992726ebbae29djnsn 0/1 Init:ErrImagePull 0 7s
      45423e4e35c8ea1da850f4ad33f8d2af35cbc0d37907ef0b6b2d49ec2fn5pt9 0/1 Init:ImagePullBackOff 0 14s
      461e5add93155be7ff6df19679aedd44d1385f45d925ad6b71462ddf14bxvdv 0/1 Init:ErrImagePull 0 8s
      4ada867547b643ed0171378947c4bb0dec6c250bedb86988c33d5403bc6z2xq 0/1 Init:ErrImagePull 0 13s
      66b774e6f6460f10faf4d3e77a008e1f70f5851a591ca802545f9ffaeasgf8w 0/1 Init:ErrImagePull 0 7s
      7b12533d260140c3593e6968a5e815af00f6bee8b42889bcdf5c8be9ac9qpkj 0/1 Init:ErrImagePull 0 9s
      801d3d6a9a03e95f733edaf9ec35f1b64646127c9839bcc8d21cd10050ldk44 0/1 Init:ErrImagePull 0 12s
      9b90dc450363f9762be7cd08f24f39a4541737d722d652f748a33e5e5299vdt 0/1 Init:ErrImagePull 0 15s
      a20be8859108fb5abc28fc841b4728cf7dd4813d27acab8eb5508086c1jkxfd 0/1 Init:ErrImagePull 0 11s
      a481ba6a5cf9018862d26fc26cf503bca6ad737f1b4d876a1aef8dc4dck2z5h 0/1 Init:ErrImagePull 0 10s
      b0183caec24c710e3ce2fd351feb5576a8186bed9019781b404a56063aj4chp 0/1 Init:ErrImagePull 0 6s
      b60823faa1649a8e352d2b1e9385a79660c4d62c71994d69a27ecaaa21g2j5n 0/1 Init:ImagePullBackOff 0 16s
      b6b1184c6afff069c64ec2e11fc6c6a9e0506892f2c1198f36a7009cd28bnsh 0/1 Init:ErrImagePull 0 8s
      c07dee05752d076d4f11a16f2169cfcde3ad20de6018aa493ac1b4c0c1582dg 0/1 Init:ErrImagePull 0 12s
      c1db46e7f96ab1ef8aa6b571f2635d0cfd4ed32163af9ea124d7f1fd954cgc7 0/1 Init:ErrImagePull 0 14s
      c9665a037b66d6e7d49d4307cbb71df691d28395482c13502323c3153957hbz 0/1 Init:ErrImagePull 0 13s
      f750c18b4b930ff10eee3d5db9c104f2054c0e6a1c3977b38fe3430a6alp5f8 0/1 Init:ErrImagePull 0 10s
      openstack-operator-index-79v87 1/1 Running 0 39s

      oc describe -n openstack-operators pod/3b8dfb5bf50fefcc388181799c2fd028251ba79cd90c97c1583bab37c7psqxn
      [...]
      Events:
      Type Reason Age From Message
      ---- ------ ---- ---- -------
      Normal Scheduled 2m11s default-scheduler Successfully assigned openstack-operators/3b8dfb5bf50fefcc388181799c2fd028251ba79cd90c97c1583bab37c7psqxn to bm9581748.cirrus-ocp4.lab.eu-fr-paris.cloud.socgen
      Normal AddedInterface 2m10s multus Add eth0 [10.128.1.171/23] from ovn-kubernetes
      Normal Pulled 2m10s kubelet Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0770ae389a3df53e3aa6a178b2e7f8c08ea5d677b4f062a0a314989471c750e5" already present on machine
      Normal Created 2m10s kubelet Created container util
      Normal Started 2m10s kubelet Started container util
      Normal BackOff 49s (x5 over 2m9s) kubelet Back-off pulling image "registry.redhat.io/rhosp-dev-preview/designate-operator-bundle:0.1.3"
      Warning Failed 49s (x5 over 2m9s) kubelet Error: ImagePullBackOff
      Normal Pulling 36s (x4 over 2m10s) kubelet Pulling image "registry.redhat.io/rhosp-dev-preview/designate-operator-bundle:0.1.3"
      Warning Failed 36s (x4 over 2m10s) kubelet Failed to pull image "registry.redhat.io/rhosp-dev-preview/designate-operator-bundle:0.1.3": pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/": dial tcp: lookup registry.redhat.io on 192.160.160.202:53: no such host
      Warning Failed 36s (x4 over 2m10s) kubelet Error: ErrImagePull

      [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/18.0-dev-preview/html-single/deploying_red_hat_openstack_platform_18.0_development_preview_3_on_red_hat_openshift_container_platform/index#proc_installing-the-OpenStack-Operator_installing

        1. icsp-mc-master.yaml
          2 kB
          Gil Rosenberg
        2. image-2024-03-25-11-29-00-942.png
          14 kB
          Florian Leduc
        3. image-2024-03-25-11-29-23-203.png
          78 kB
          Florian Leduc
        4. image-2024-03-25-11-31-18-610.png
          56 kB
          Florian Leduc
        5. manifests-openstack-operator-index.tar
          30 kB
          Florian Leduc
        6. master1-registries.conf.orig
          239 kB
          Florian Leduc
        7. rhoso18-dp3-images
          16 kB
          Gil Rosenberg

              grosenbe-redhat.com Gil Rosenberg
              cedric.lemarchand@socgen.com Cedric Lemarchand (Inactive)
              rhos-dfg-ospk8s
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: