summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Grechanichenko <agrechanichenko@mirantis.com>2016-11-28 16:36:53 +0200
committerArtem Grechanichenko <agrechanichenko@mirantis.com>2016-11-28 16:54:57 +0200
commita68c71fe9dc001c5e826f2cf932eb1b8fbf3c93e (patch)
treead8af41400d1f8c96e1f832357a2e04515829ba5
parent27e62c6f13fb0e9f204f6832fa3641bac5c0635e (diff)
Temporary fix for ETCDCTL_ENDPOINT
manually exporting ETCDCTL_ENDPOINT before checking etcd cluster-health Change-Id: I7dcc32495f94f7246490b8e118368d9c890b074b
Notes
Notes (review): Code-Review+2: Artem Panchenko <apanchenko@mirantis.com> Verified+1: Mirantis CCP CI <mirantis-fuel-ccp-ci@mirantis.com> Workflow+1: Volodymyr Shypyguzov <vshypyguzov@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 29 Nov 2016 12:16:34 +0000 Reviewed-on: https://review.openstack.org/403736 Project: openstack/fuel-ccp-tests Branch: refs/heads/master
-rw-r--r--fuel_ccp_tests/tests/system/base_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/fuel_ccp_tests/tests/system/base_test.py b/fuel_ccp_tests/tests/system/base_test.py
index 75fb82d..b4dc9dc 100644
--- a/fuel_ccp_tests/tests/system/base_test.py
+++ b/fuel_ccp_tests/tests/system/base_test.py
@@ -54,7 +54,9 @@ class SystemBaseTest(object):
54 54
55 def check_etcd_health(self, underlay): 55 def check_etcd_health(self, underlay):
56 node_names = underlay.node_names() 56 node_names = underlay.node_names()
57 cmd = "etcdctl cluster-health | grep -c 'got healthy result'" 57 # TODO remove export after that issue will be fixed in KARGO
58 cmd = "export ETCDCTL_ENDPOINT=https://127.0.0.1:2379;" \
59 "etcdctl cluster-health | grep -c 'got healthy result'"
58 60
59 etcd_nodes = underlay.sudo_check_call( 61 etcd_nodes = underlay.sudo_check_call(
60 cmd, node_name=node_names[0])['stdout'][0] 62 cmd, node_name=node_names[0])['stdout'][0]