Bug 1886730 - [16.2] Composable HA deployment fails with missing sahara container images
Summary: [16.2] Composable HA deployment fails with missing sahara container images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-containers
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Michele Baldessari
QA Contact: Arik Chernetsky
URL:
Whiteboard:
: 1896436 1899194 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-09 09:01 UTC by Michele Baldessari
Modified: 2021-09-15 13:18 UTC (History)
13 users (show)

Fixed In Version: openstack-tripleo-common-11.5.1-2.20210213010022.36ad9a1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 13:18:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1730233 0 medium CLOSED Remove sahara entries from tripleo-common 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2021:3489 0 None None None 2021-09-15 13:18:28 UTC

Description Michele Baldessari 2020-10-09 09:01:38 UTC
Description of problem:
Our deployment (composable control plane) is failing with:
image: http://rhos-qe-mirror-rdu2.usersys.redhat.com:5002/v2/rh-osbs/rhosp16-openstack-sahara-api/manifests/16.2_20201008.1", "\"\"\"", "", "The above exception was the direct cause of the following exception:", "", "Traceback (most recent call last):", "  File \"/usr/lib/python3.6/site-packages/tripleoclient/command.py\", line 32, in run", "    super(Command, self).run(parsed_args)", "  File \"/usr/lib/python3.6/site-packages/osc_lib/command/command.py\", line 41, in run", "    return super(Command, self).run(parsed_args)", "  File \"/usr/lib/python3.6/site-packages/cliff/command.py\", line 185, in run", "    return_code = self.take_action(parsed_args) or 0", "  File \"/usr/lib/python3.6/site-packages/tripleoclient/v1/container_image.py\", line 1055, in take_action", "    cleanup=parsed_args.cleanup, lock=lock)", "  File \"/usr/lib/python3.6/site-packages/tripleo_common/image/kolla_builder.py\", line 241, in container_images_prepare_multi", "    uploader.upload()", "  File \"/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py\", line 506, in upload", "    uploader.run_tasks()", "  File \"/usr/lib/python3.6/site-packages/tripleo_common/image/image_uploader.py\", line 2535, in run_tasks", "    for result in p.map(upload_task, self.upload_tasks):", "  File \"/usr/lib64/python3.6/concurrent/futures/process.py\", line 366, in _chain_from_iterable_of_lists", "    for element in iterable:", "  File \"/usr/lib64/python3.6/concurrent/futures/_base.py\", line 586, in result_iterator", "    yield fs.pop().result()", "  File \"/usr/lib64/python3.6/concurrent/futures/_base.py\", line 425, in result", "    return self.__get_result()", "  File \"/usr/lib64/python3.6/concurrent/futures/_base.py\", line 384, in __get_result", "    raise self._exception", "tripleo_common.image.exception.ImageNotFoundException: Not found image: http://rhos-qe-mirror-rdu2.usersys.redhat.com:5002/v2/rh-osbs/rhosp16-openstack-sahara-api/manifests/16.2_20201008.1", "Not found image: http://rhos-qe-mirror-rdu2.usersys.redhat.com:5002/v2/rh-osbs/rhosp16-openstack-sahara-api/manifests/16.2_20201008.1"], "stdout": "", "stdout_lines": []}[0m

I don't think it is a mirror problem since the image is not there both on the rdu mirror nor on the brq mirror:
[stack@undercloud-0 ~]$  sudo podman pull rhos-qe-mirror-brq.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1                                                                                                                                                 
Trying to pull rhos-qe-mirror-brq.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1...
  manifest unknown: manifest unknown
Error: unable to pull rhos-qe-mirror-brq.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1: Error initializing source docker://rhos-qe-mirror-brq.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1: Error reading manifest 16.2_20201008.1 in rhos-qe-mirror-brq.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api: manifest unknown: manifest unknown
[stack@undercloud-0 ~]$  sudo podman pull rhos-qe-mirror-rdu2.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1                                                                                                                                                
Trying to pull rhos-qe-mirror-rdu2.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1...
  manifest unknown: manifest unknown
Error: unable to pull rhos-qe-mirror-rdu2.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1: Error initializing source docker://rhos-qe-mirror-rdu2.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api:16.2_20201008.1: Error reading manifest 16.2_2
0201008.1 in rhos-qe-mirror-rdu2.usersys.redhat.com:5002/rh-osbs/rhosp16-openstack-sahara-api: manifest unknown: manifest unknown

Via https://code.engineering.redhat.com/gerrit/#/c/176688/ we dropped them downstream, yet the overcloud deployment (UC succeeds) fails because it is trying to pull them in.

My first hunch is that https://code.engineering.redhat.com/gerrit/#/c/176688/ is not patching container-images/tripleo_containers.yaml.j2

What I don't know yet is why none else is hitting this. I'll keep poking around and assign it to me for the time being

Comment 1 Michele Baldessari 2020-10-09 09:05:34 UTC
Testing https://code.engineering.redhat.com/gerrit/#/c/214642/

Comment 2 Michele Baldessari 2020-10-09 10:09:46 UTC
So https://code.engineering.redhat.com/gerrit/#/c/214642/ fixes it for me. What remains unexplained is why none else is hitting this.

Comment 15 Alex Schultz 2020-11-10 23:38:27 UTC
*** Bug 1896436 has been marked as a duplicate of this bug. ***

Comment 17 Luigi Toscano 2020-11-18 17:41:37 UTC
*** Bug 1899194 has been marked as a duplicate of this bug. ***

Comment 22 errata-xmlrpc 2021-09-15 13:18:18 UTC
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 (Red Hat OpenStack Platform 16.2 containers bug fix 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/RHEA-2021:3489


Note You need to log in before you can comment on or make changes to this bug.