From 7f1c6274eae47301318ca532f693fbc75b034e53 Mon Sep 17 00:00:00 2001 From: pinikomarov Date: Sun, 8 Mar 2020 13:15:54 +0200 Subject: [PATCH] fix for : remove os-faults bug and commented ha checks Change-Id: Idfbf68b1ed2f3db22884c6e1c5273a03c01f3b56 --- roles/infrared/tasks/configure.yml | 6 ------ tobiko/tests/faults/ha/test_cloud_recovery.py | 11 ++++++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/roles/infrared/tasks/configure.yml b/roles/infrared/tasks/configure.yml index 62479d2e9..ea22faf4f 100644 --- a/roles/infrared/tasks/configure.yml +++ b/roles/infrared/tasks/configure.yml @@ -1,9 +1,3 @@ -- name: Create os-faults configuration file - template: - src: "templates/os-faults.yaml.j2" - dest: "~/os-faults.yaml" - mode: 0755 - - name: Set up Overcloud resources create ssh keys shell: | test -f ~/.ssh/id_rsa||ssh-keygen -f ~/.ssh/id_rsa -P '' diff --git a/tobiko/tests/faults/ha/test_cloud_recovery.py b/tobiko/tests/faults/ha/test_cloud_recovery.py index 8dda763d1..a6aab1e44 100644 --- a/tobiko/tests/faults/ha/test_cloud_recovery.py +++ b/tobiko/tests/faults/ha/test_cloud_recovery.py @@ -10,21 +10,22 @@ from tobiko.tripleo import pacemaker from tobiko.tripleo import processes from tobiko.tripleo import containers from tobiko.tripleo import nova +from tobiko.tripleo import neutron from tobiko.openstack import stacks import tobiko def overcloud_health_checks(passive_checks_only=False): # this method will be changed in future commit - # check_pacemaker_resources_health() - # check_overcloud_processes_health() - # nova.check_nova_services_health() - # neutron.check_neutron_agents_health() + check_pacemaker_resources_health() + check_overcloud_processes_health() + nova.check_nova_services_health() + neutron.check_neutron_agents_health() if not passive_checks_only: # create a uniq stack check_vm_create(stack_name='stack{}'.format(random.randint(0, 10000))) nova.start_all_instances() - # containers.assert_all_tripleo_containers_running() + containers.assert_all_tripleo_containers_running() containers.assert_equal_containers_state()