Filter qrouter containers from images validation script

Post minor update the Neutron qrouter containers do not get updated
to the latest images to avoid router failovers. This change adjusts
the images validation script to filter out the qrouter containers
and allow the validation to pass.

Change-Id: I1f31d2b6783a1c7e264e85a7ed3fb3df4b71a9a0
(cherry picked from commit be343de4e0)
This commit is contained in:
Marius Cornea 2018-06-22 11:44:35 -04:00
parent e8f1e97521
commit 9041619366
1 changed files with 1 additions and 1 deletions

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 docker ps 2>&1 | grep -v -e pcmk -e ID | awk '{ print \$2 }'" )
"sudo docker ps 2>&1 | grep -v -e pcmk -e ID -e qrouter | awk '{ print \$2 }'" )
for _container in ${CONTAINERS} ; do
# non pcs managed containers
assert_image_in_file {{ working_dir}}/{{ container_registry_file }} ${_container}