From d72ccdb6999ae75839a01163cea4975ba5b9a637 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Mon, 24 Feb 2014 07:02:55 +0100 Subject: [PATCH] Log ip Information on ssh failures in the minimum scenario The minimum scenario frequently have ssh connectivity issues, both with neutron and nova-network. Logging the ip and iptables state at the failure, can help in finding the root cause sooner. Change-Id: I3205541f96810b5b88e7c5ac3000fe1a1294ec65 --- tempest/scenario/test_minimum_basic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tempest/scenario/test_minimum_basic.py b/tempest/scenario/test_minimum_basic.py index 54647903ec..f2ee3b4e09 100644 --- a/tempest/scenario/test_minimum_basic.py +++ b/tempest/scenario/test_minimum_basic.py @@ -13,6 +13,7 @@ # License for the specific language governing permissions and limitations # under the License. +from tempest.common import debug from tempest import config from tempest.openstack.common import log as logging from tempest.scenario import manager @@ -96,6 +97,7 @@ class TestMinimumBasicScenario(manager.OfficialClientTest): except Exception: LOG.exception('ssh to server failed') self._log_console_output() + debug.log_ip_ns() raise def check_partitions(self):