Check containers after VM creation

If sample of running containers is taken before creating a VM, some
sidecars containers would not exist. To avoid this, container checkings
are performed after VM creation

Change-Id: Ie24f8ad1b08391f65d1b3b199af3a40e49ed2ac5
This commit is contained in:
Eduardo Olivares 2020-03-06 09:52:12 +01:00
parent 8781f5281f
commit b647aef7d9
1 changed files with 1 additions and 1 deletions

View File

@ -21,10 +21,10 @@ def overcloud_health_checks(passive_checks_only=False):
check_overcloud_processes_health()
nova.check_nova_services_health()
neutron.check_neutron_agents_health()
containers.assert_all_tripleo_containers_running()
if not passive_checks_only:
# create a uniq stack
check_vm_create(stack_name='stack{}'.format(random.randint(0, 10000)))
containers.assert_all_tripleo_containers_running()
# check vm create with ssh and ping checks