rhel8 containers not being tagged w/ _arch suffix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Rafael Folco |
Bug Description
Partially fixed in https:/
Description
-----------
Now the issue is that rhel uses podman push. Podman does not support tokens and cannot use docker_login module [1]. When kolla builds and pushes, rhel8 are tagges with full_hash only (without _arch suffix). Then retag task runs and should tag w/ _arch and repush. This is not happening and rhel8 containers are not tagged properly, which breaks promotions for rhel.
What is expected as a fix for this bug?
-------
Solution: find a way to call podman push [2] w/ auth credentials/secret.
Tests
-----
This has been tested in [3].
[2] https:/
Changed in tripleo: | |
assignee: | Mari Iros (marios) → Rafael Folco (rafaelfolco) |
Assigning to myself...
The idea is to:
- break down retag/push [1] into separate steps. Retag remains in tripleo-ci role, while push will be moved to rdo-infra/config.
- the new push on rdo-infra/config will have 2 separate tasks: one for docker, which relies on docker_login step, and another one for buildah. The push will be similiar to tag.yaml [1] but will be push.yaml, and should be a similar loop to [2].
- push.yaml should have a podman task for pushing retagged images w/ --creds, as docker_login is out of play here.
[1] https:/ /github. com/openstack/ tripleo- ci/blob/ master/ roles/build- containers/ tasks/tag. yaml#L8 /github. com/openstack/ tripleo- ci/blob/ master/ roles/build- containers/ tasks/main. yaml#L182- L201 /github. com/rdo- infra/review. rdoproject. org-config/ blob/30b062263a a05baae30725746 33748665f3ee108 /playbooks/ tripleo- ci-periodic- base/containers -push-podman- login-push. yaml#L23
[2] https:/
[3] https:/