Do not validate neutron related side car container images.

Neutron spawns side car container when it needs them. In stein that
would be neutron-haproxy-ovnmeta which has an haproxy that relays
metadata queries.

When we run an update those side car container are not updated to not
disrupt services, so we add them to the list of container to not
check.

Change-Id: Ic1f46e1978bbb34f80aed8a761c38acedd040296
This commit is contained in:
Sofer Athlan-Guyot 2019-10-16 13:37:23 +02:00
parent 21463a7536
commit 32c2dc994f

View File

@ -41,7 +41,7 @@ for _ip in $( openstack server list -f value -c Networks | awk -F '=' '{ print $
echo "================================================================================"
CONTAINERS=$( ssh -q -o StrictHostKeyChecking=no \
{% if overcloud_ssh_user != '' %}{{overcloud_ssh_user}}{% else %}heat-admin{% endif %}@${_ip} \
"sudo podman ps 2>&1 | grep -v -e pcmk -e ID -e qrouter -e 'neutron.*ip netns exec' | awk '{ print \$2 }'" )
"sudo podman ps 2>&1 | grep -v -e pcmk -e ID -e qrouter -e 'neutron.*ip netns exec' -e neutron-haproxy-ovnmeta | awk '{ print \$2 }'" )
for _container in ${CONTAINERS} ; do
# non pcs managed containers
assert_image_in_file {{ working_dir}}/{{ container_registry_file }} ${_container}