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
This commit is contained in:
parent
e857bd6373
commit
d72ccdb699
|
@ -13,6 +13,7 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
from tempest.common import debug
|
||||||
from tempest import config
|
from tempest import config
|
||||||
from tempest.openstack.common import log as logging
|
from tempest.openstack.common import log as logging
|
||||||
from tempest.scenario import manager
|
from tempest.scenario import manager
|
||||||
|
@ -96,6 +97,7 @@ class TestMinimumBasicScenario(manager.OfficialClientTest):
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception('ssh to server failed')
|
LOG.exception('ssh to server failed')
|
||||||
self._log_console_output()
|
self._log_console_output()
|
||||||
|
debug.log_ip_ns()
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def check_partitions(self):
|
def check_partitions(self):
|
||||||
|
|
Loading…
Reference in New Issue