Comment 16 for bug 1887176

Revision history for this message
Marios Andreou (marios-b) wrote :

OK... so I believe the error is coming from [1] where we have:

           namespace: docker.io/tripleotrain

On deployment in this job we are setting the correct namespace with [2] but then when it prepares for the minor update (and re-runs container image prepare) it uses the defaults from [1].

I just posted https://review.opendev.org/745873 for testing but don't know if it will be acceptable.

One alternative I can think of is to have a duplicate parameter defaults file (i.e. duplicate [1]) and then use a conditional based on OS (centos 7 vs 8) in [3] to choose the right one.

[1] https://github.com/openstack/tripleo-common/blob/473d9cbc32163ce548e1483e0d5e1631c096c8d2/container-images/container_image_prepare_defaults.yaml#L16
[2] https://opendev.org/openstack/tripleo-quickstart/src/commit/7bf80f6b10fbb3b2704b1d70f993439ca4916861/config/release/tripleo-ci/CentOS-8/train.yml#L9
[3] https://github.com/openstack/tripleo-common/blob/c622351745d151e85d003eee84b33439061b8326/tripleo_common/image/kolla_builder.py#L53