Revert "Check VM's console log before trying to SSH to it."
This reverts commit e3405ba808f97eae57f3a60991000afaa34cbe89.
AFAICT wait_for_sshable has never been wired up for any tests either
in-tree or within the wider opendev namespace:
https://codesearch.opendev.org/?q=wait_for_sshable
Remove this before introducing a fresh implementation overloading the
original wait_unil kwarg.
Change-Id: I15b5cdcda387e4868d4431c86ad087f3e3e2c8fe
diff --git a/tempest/common/compute.py b/tempest/common/compute.py
index a062f6f..04b67e4 100644
--- a/tempest/common/compute.py
+++ b/tempest/common/compute.py
@@ -57,7 +57,7 @@
def create_test_server(clients, validatable=False, validation_resources=None,
tenant_network=None, wait_until=None,
volume_backed=False, name=None, flavor=None,
- image_id=None, wait_for_sshable=True, **kwargs):
+ image_id=None, **kwargs):
"""Common wrapper utility returning a test server.
This method is a common wrapper returning a test server that can be
@@ -93,8 +93,6 @@
CONF.compute.flavor_ref will be used instead.
:param image_id: ID of the image to be used to provision the server. If not
defined, CONF.compute.image_ref will be used instead.
- :param wait_for_sshable: Check server's console log and wait until it will
- be ready to login.
:returns: a tuple
"""
@@ -265,10 +263,6 @@
LOG.exception('Server %s failed to delete in time',
server['id'])
- if (validatable and CONF.compute_feature_enabled.console_output and
- wait_for_sshable):
- waiters.wait_for_guest_os_boot(clients.servers_client, server['id'])
-
return body, servers