Description of problem: In the Newton(osp10) ages the get_remote_client() method called self._log_console_output() for getting the serial console log output in case of ssh or boot issue, but this feature missing in the osp13 version of tempest. [compute-feature-enabled] console_output = True Version-Release number of selected component (if applicable): openstack-tempest.noarch 1:18.0.0-6.el7ost @rhelosp-13.0-puddle How reproducible: alwyas Steps to Reproduce: Have a broken image and try to run scenario tests Actual results: Test fails with failing to ssh . Expected results: When an SSH failure happen, I must be able to see is the - root fs properly mounted - got ip over dhcp - metadata received (ssh pub key) In case of a well bahaving cloud image, just the serial console log can tell these.
Last time _log_console_output was called from get_remote_client method was in openstack-tempest-16.*, since then that part of the code is omitted and I don't understand why. I'm gonna look into it.
The mentioned code was removed by this review: https://review.openstack.org/#/c/467905/
Created attachment 1581372 [details] verification output The openstack-tempest-18.0.0-8.el7ost package contains the fix of this issue. The fixed in version package is already available via the latest symlink in RHOS-13 repository. I verified it by running tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern test and using a wrong image_ssh_user in order to get a failing console output.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1739