Skip to content

Commit 6f15763

Browse files
committed
kolla-images.py: Fix image to container exceptions using check-image-map
We recently had an issue where images were built for ironic, but this did not include dnsmasq due to not matching the regex. The 'ironic' tag was updated in kolla-image-tags.yml, which matches ironic_dnsmasq container, but no such dnsmasq image existed. This issue would have been caught the check-tags workflow with the correct mapping added in this change.
1 parent 6181e80 commit 6f15763

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tools/kolla-images.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,19 @@
3939

4040
# Maps a Kolla image to a list of containers that use the image.
4141
IMAGE_TO_CONTAINERS_EXCEPTIONS: Dict[str, List[str]] = {
42+
"dnsmasq": [
43+
"ironic_dnsmasq",
44+
],
4245
"haproxy": [
4346
"glance_tls_proxy",
47+
"haproxy",
4448
"neutron_tls_proxy",
4549
],
4650
"mariadb-server": [
4751
"mariadb",
4852
"mariabackup",
4953
],
50-
"neutron-eswitchd": [
54+
"neutron-mlnx-agent": [
5155
"neutron_mlnx_agent",
5256
],
5357
"neutron-metadata-agent": [
@@ -58,6 +62,15 @@
5862
"nova_super_conductor",
5963
"nova_conductor",
6064
],
65+
"openvswitch-db-server": [
66+
"openvswitch_db",
67+
],
68+
"ovn-nb-db-server": [
69+
"ovn_nb_db",
70+
],
71+
"ovn-sb-db-server": [
72+
"ovn_sb_db",
73+
],
6174
"prometheus-v2-server": [
6275
"prometheus_server",
6376
],

0 commit comments

Comments
 (0)