Bug 2042973

Summary: push_destination support lacking in 'openstack overcloud deploy ceph --container-image-prepare'
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: python-tripleoclientAssignee: John Fulton <johfulto>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: alfrgarc, fpantano, hbrock, jslagle, mburns
Target Milestone: gaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-tripleoclient-16.4.1-0.20220416014505.ccc329b.el8ost tripleo-ansible-3.3.1-0.20220415222436.c2b77e6.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:18:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Fulton 2022-01-20 12:47:52 UTC
When 'openstack overcloud deploy ceph' is passed --container-image-prepare with a file with a push_destination then, then the resulting image parameters should be  modified to refer to the images in push_destination instead of namespace.


1. Set "push_destination: true" in containers-prepare-parameter.yaml as described in [1]

2. Run 'openstack tripleo container image prepare --environment-file containers-prepare-parameter.yaml' to push containers to the local registry

3. Run 'openstack overcloud deploy ceph --container-image-prepare containers-prepare-parameter.yaml' 

Results:
overcloud tries to download directly container from ceph_namespace

Expected Results:
overcloud tries to download directly container from undercloud registry


[1] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/container_image_prepare.html#undercloud-registry

Comment 2 John Fulton 2022-02-09 21:35:36 UTC
Here's an IR patch to test the change https://review.gerrithub.io/c/redhat-openstack/infrared/+/532927

Comment 11 errata-xmlrpc 2022-09-21 12:18:51 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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-2022:6543