Add support for v2 registries.conf in c8-stream train/ussuri

Bug #1918489 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

References:

https://review.opendev.org/c/openstack/tripleo-ansible/+/719584
https://github.com/containers/podman/issues/5764

Found while migrating stable/ussuri jobs found in upgrade jobs.

podman.x86_64 1.6.4-24.module_el8.3.0+706+33ce1279 @appstream

Error:
"error checking if pulling from registry for \"docker://192.168.24.1:8787/tripleotraincentos8/centos-binary-swift-proxy-server:14d4a91cb28f9a705b32d3638ac0c3f0\" is blocked: unable to parse the registries configuration (/etc/containers/registries.conf): mixing sysregistry v1/v2 is not supported"

https://logserver.rdoproject.org/91/32291/1/check/periodic-tripleo-ci-centos-8-singlenode-featureset050-upgrades-ussuri/37fea56/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

https://logserver.rdoproject.org/91/32291/1/check/periodic-tripleo-ci-centos-8-singlenode-featureset050-upgrades-ussuri/37fea56/logs/undercloud/etc/containers/registries.conf.txt.gz

# This file is managed via tripleo-ansible

unqualified-search-registries = ['registry.redhat.io', 'registry.access.redhat.com', 'registry.fedoraproject.org', 'registry.centos.org', 'docker.io']

# registries configuration

# insecure registry list
[registries.insecure]
registries = ['undercloud.ctlplane.localdomain', '192.168.24.1', '192.168.24.3']

FIX:
update registries.conf to look like:
https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-singlenode-featureset050-upgrades-victoria/3f25fd5/logs/undercloud/etc/containers/registries.conf.txt.gz

# This file is managed via tripleo-ansible

unqualified-search-registries = ['registry.redhat.io', 'registry.access.redhat.com', 'registry.fedoraproject.org', 'registry.centos.org', 'docker.io']

# registries configuration

# insecure registry list
[[registry]]
prefix = "undercloud.ctlplane.localdomain"
insecure = true
location = "undercloud.ctlplane.localdomain"
[[registry]]
prefix = "192.168.24.1"
insecure = true
location = "192.168.24.1"
[[registry]]
prefix = "192.168.24.3"
insecure = true
location = "192.168.24.3"
[[registry]]
prefix = "trunk.registry.rdoproject.org"
insecure = true
location = "trunk.registry.rdoproject.org"
[[registry]]
prefix = "quay.ceph.io"
insecure = true
location = "quay.ceph.io"

Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

The job is running in upstream as tripleo-ci-centos-8-undercloud-upgrade-ussuri and pass: https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-8-undercloud-upgrade-ussuri
Checking if it's a problem with job definition in periodic pipeline.

Revision history for this message
wes hayutin (weshayutin) wrote :
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
status: Incomplete → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.