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

[17.1.3][Unable to upload satellite container images to undercloud]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Critical

      To Reproduce Steps to reproduce the behavior:

      --->

      • Run $openstack undercloud install 
      • It fails while uploading images to the undercloud. 
      • To reproduce, run the manual way[1] to upload and the error is evident on /root/container_image_prepare.log
        [1]
        $ sudo -E openstack tripleo container image prepare -e templates/containers-prepare-parameter.yaml --debug

       

      2025-09-11 12:13:28,640 751227 DEBUG urllib3.connectionpool [  ] https://rhnsat.kw.zain.com:443 "GET /v2/token?service=rhnsat.kw.zain.com&scope=repository%3Anetwork-production-rhosp17-osp17_containers-neutron-l3-agent%3Apull HTTP/1.1" 200 125
      2025-09-11 12:13:28,641 751227 DEBUG tripleo_common.image.image_uploader [  ] Session authenticated: id 320e6bc9935d5c0f43f9e0f84c1dcdafaceecaf3
      2025-09-11 12:13:28,810 751227 DEBUG urllib3.connectionpool [  ] https://rhnsat.kw.zain.com:443 "GET /v2/network-production-rhosp17-osp17_containers-neutron-l3-agent/manifests/17.1.3 HTTP/1.1" 404 None
      2025-09-11 12:13:28,812 751227 INFO tripleo_common.image.image_uploader [  ] Non-2xx: id 40f4b9ff0e617e64b3211bb82071dac87b4d1d43, status 404, reason Not Found, text {"errors":[{"code":"MANIFEST_UNKNOWN","message":"Manifest not found.","detail":{"reference":"17.1.3"}}]}
      2025-09-11 12:13:28,812 751227 ERROR tripleo_common.image.image_uploader [  ] [hqb-openstack-drt.ctlplane.kw.zain.com:8787/network-production-rhosp17-osp17_containers-neutron-l3-agent:17.1.3] Failed uploading the target image

       

      containers-prepare-parameter.yaml

       

      [stack@hqb-openstack-drt ~]$ cat templates/containers-prepare-parameter.yaml
      parameter_defaults:
        ContainerImagePrepare:
        - push_destination: true
          set:
            name_prefix: network-production-rhosp17-osp17_containers-
            name_suffix: ''
            namespace: rhnsat.kw.zain.com
            neutron_driver: ovn
            rhel_containers: false
            ceph_images: false
            tag: 17.1.3
          tag_from_label: '{version}-{release}'
      [stack@hqb-openstack-drt ~]$
       
      

      Manual pull of the failing images work.

      • $ sudo podman pull rhnsat.kw.zain.com/network-production-rhosp17-osp17_containers-barbican-keystone-listener:17.1.3
      • Images failed to pull are not present in the "/var/lib/image-serve"
      • Seems like this is related to https://issues.redhat.com/browse/OSPRH-12548 and their uploader version is. 
        [root@hqb-openstack-drt log]# rpm -qf /usr/lib/python3.9/site-packages/tripleo_common/image/image_uploader.py 
        python3-tripleo-common-15.4.1-17.1.20230927010821.el9ost.noarch
        [root@hqb-openstack-drt log]# 

      Data:

      [supportshell-1.sush-001.prod.us-west-2.aws.redhat.com] [12:20:55+0000]
      [pgodwin@supportshell-1 04249808]$ ls -lt
      total 48
      drwxrwxrwx+ 2 yank zeek    51 Sep 11 12:20 sosreport-20250911-103650
      drwxrwxrwx+ 3 yank yank    77 Sep 11 12:10 0030-sosreport-hqb-openstack-drt-04249808-2025-09-11-hyebmbt.tar.xz
      -rw-rw-rw-+ 1 yank yank 44545 Sep 11 11:51 0010-container_image_prepare.log
      -rw-rw-rw-+ 1 yank yank    65 Sep 11 11:36 0020-sosreport-hqb-openstack-drt-04249808-2025-09-11-hyebmbt.tar.xz.sha256
      [supportshell-1.sush-001.prod.us-west-2.aws.redhat.com] [12:21:03+0000]
      [pgodwin@supportshell-1 04249808]$  

       

       

              Unassigned Unassigned
              rhn-support-pgodwin Paul Godwin
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: