Brief Description
-----------------
Installation of starlingx fails because, during installation the ssh connection to controller is not possible. Unable to connect to port 22 on 192.168.200.52 Seems there is an openssh issue?!
Severity
--------
<Critical: System/Feature is not usable due to the defect>
Steps to Reproduce
------------------
Try to install STX image RC5.0 20210512T230401Z or Master image 20210513T042821Z.
Expected Behavior
------------------
Installation should work.
Actual Behavior
----------------
Starlingx installation fails during setup:
15:24:08 [2021-05-13T12:24:08.671Z] Install ISO BareMetal :: Installation of controller node and defin... | FAIL |
15:24:08 [2021-05-13T12:24:08.671Z] TIMEOUT: Timeout exceeded.
15:24:08 [2021-05-13T12:24:08.671Z] <pexpect.pty_spawn.spawn object at 0x7f8c9d8934d0>
15:24:08 [2021-05-13T12:24:08.671Z] command: /usr/bin/ipmitool
15:24:08 [2021-05-13T12:24:08.671Z] args: ['/usr/bin/ipmitool', '-I', 'lanplus', '-H', '192.168.100.52', '-U', 'starlingx', '-P', 'Passw0rd', 'sol', 'activate']
15:24:08 [2021-05-13T12:24:08.671Z] buffer (last 100 chars): b'plain attachments\x1b[1;24r\x1b[H\x1b[5B\x1b[1;23r\x1b[H\x1b[5B12:03:10 Running pre-installation scripts\x1b[1;24r\x1b[H\x1b[6B'
15:24:08 [2021-05-13T12:24:08.671Z] before (last 100 chars): b'plain attachments\x1b[1;24r\x1b[H\x1b[5B\x1b[1;23r\x1b[H\x1b[5B12:03:10 Running pre-installation scripts\x1b[1;24r\x1b[H\x1b[6B'
15:24:08 [2021-05-13T12:24:08.671Z] after: <class 'pexpect.exceptions.TIMEOUT'>
15:24:08 [2021-05-13T12:24:08.671Z] match: None
15:24:08 [2021-05-13T12:24:08.671Z] match_index: None
15:24:08 [2021-05-13T12:24:08.671Z] exitstatus: None
15:24:08 [2021-05-13T12:24:08.671Z] flag_eof: False
15:24:08 [2021-05-13T12:24:08.671Z] pid: 35763
15:24:08 [2021-05-13T12:24:08.671Z] child_fd: 15
15:24:08 [2021-05-13T12:24:08.671Z] closed: False
15:24:08 [2021-05-13T12:24:08.671Z] timeout: 1200
15:24:08 [2021-05-13T12:24:08.671Z] delimiter: <class 'pexpect.exceptions.EOF'>
15:24:08 [2021-05-13T12:24:08.671Z] logfile: <_io.BufferedWriter name='/localdisk/starlingx/s1_duplex/test/automated-robot-suite/Results/20210513135824_Setup/iso_setup_installation.txt'>
15:24:08 [2021-05-13T12:24:08.671Z] logfile_read: None
15:24:08 [2021-05-13T12:24:08.671Z] logfile_send: None
15:24:08 [2021-05-13T12:24:08.671Z] maxread: 2000
15:24:08 [2021-05-13T12:24:08.671Z] ignorecase: False
15:24:08 [2021-05-13T12:24:08.671Z] searchwindowsize: None
15:24:08 [2021-05-13T12:24:08.671Z] delaybeforesend: 0.05
15:24:08 [2021-05-13T12:24:08.671Z] delayafterclose: 0.1
15:24:08 [2021-05-13T12:24:08.671Z] delayafterterminate: 0.1
15:24:08 [2021-05-13T12:24:08.671Z] searcher: searcher_re:
15:24:08 [2021-05-13T12:24:08.671Z] 0: re.compile(b'Performing post-installation setup tasks')
15:24:08 [2021-05-13T12:24:08.671Z] ------------------------------------------------------------------------------
15:29:00 [2021-05-13T12:29:00.147Z] Ansible Bootstrap Configuration :: Configure controller with local... | FAIL |
15:29:00 [2021-05-13T12:29:00.147Z] Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 22 on 192.168.200.52
15:29:00 [2021-05-13T12:29:00.147Z] ------------------------------------------------------------------------------
15:34:06 [2021-05-13T12:34:06.650Z] Copy Install Packages :: Copy packages required to install seconda... | FAIL |
15:34:06 [2021-05-13T12:34:06.650Z] Keyword 'Connect to Controller Node' failed after retrying for 5 minutes. The last error was: NoValidConnectionsError: [Errno None] Unable to connect to port 22 on 192.168.200.52
Reproducibility
---------------
100% reproducible
System Configuration
--------------------
One node system, Two node system, Multi-node system, Dedicated storage
Branch/Pull Time/Commit
-----------------------
RC5.0 and Master
Last Pass
---------
RC5.0 20210511T230342Z
Master 20210512T043622Z
Timestamp/Logs
--------------
-
Test Activity
-------------
Sanity
Workaround
----------
-
It's unclear if this could be related to a very old commit that was allowed tomerge. As there is not need for this commit, recommendation is to revert this commit:
https:/ /review. opendev. org/c/starlingx /metal/ +/736950