StarlingX provision failed for all bare-metal configurations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Leonardo Fagundes Luz Serrano |
Bug Description
Brief Description
-----------------
StarlingX provision failed for all bare-metal configurations. There are no controllers unlocked.
Command: source /etc/platform/
Openstack Admin credentials can only be loaded from the active controller.
Severity
--------
<Critical: System/Feature is not usable due to the defect>
Steps to Reproduce
------------------
Try to install stx 20220517T213711Z
Expected Behavior
------------------
Starlingx installation should pass fine.
Actual Behavior
----------------
Setup stage was fine, but the issue appears at the provisioning now.
20220518 10:18:45.502 - INFO - +------- START KW: SSHLibrary.Write [ ${cmd} ]
20220518 10:18:45.508 - INFO - source /etc/platform/
20220518 10:18:45.509 - INFO - +------- END KW: SSHLibrary.Write (7)
20220518 10:18:45.509 - INFO - +------- START KW: SSHLibrary.Read Until Prompt [ ]
20220518 10:18:45.517 - INFO - Openstack Admin credentials can only be loaded from the active controller.
controller-0:~$
or:
controller-0:~$
controller-0:~$ . /etc/platform/
Openstack Admin credentials can only be loaded from the active controller.
controller-0:~$
ONLY THE BARE-METAL SERVERS ARE AFFECTED BY THIS ISSUE!
Reproducibility
---------------
100% reproducible
System Configuration
-------
All bare-metal configurations
Branch/Pull Time/Commit
-------
master: 20220517T213711Z
Last Pass
---------
master - 20220420T033744Z
Timestamp/Logs
--------------
Will be attached
Test Activity
-------------
Sanity
Workaround
----------
-
Changed in starlingx: | |
importance: | Undecided → Critical |
tags: | added: stx.7.0 |
Changed in starlingx: | |
assignee: | nobody → John Kung (john-kung) |
Changed in starlingx: | |
status: | New → Triaged |
tags: | added: stx.config |
Changed in starlingx: | |
status: | Triaged → In Progress |
/var/log/ puppet/ puppet. log indicates the following Error:
2022-05- 18-07-49- 31_controller/ puppet. log:2022- 05-18T07: 56:18.566 Error: 2022-05-18 07:56:18 +0000 Command exceeded timeout 18-07-49- 31_controller/ puppet. log:2022- 05-18T07: 56:18.676 Error: 2022-05-18 07:56:18 +0000 /Stage[ main]/Platform: :Ntp/Exec[ ntp-initial- config] /returns: change from notrun to 0 1 failed: Command exceeded timeout
2022-05-
OS="centos" "20220517T21371 1Z"
SW_VERSION="22.06"
BUILD_ID=
FLOCK_BUILD_ DATE="2022- 05-17 21:37:11 +0000"
There was a recent update in ntp config, which introduced Exec'ntp- initial- config' that warrants follow-up investigation:
https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/839992 (Merged May 11, 2022)