AIO-SX Ansible setup failure during bringup-essential-services

Bug #1911377 reported by Penghao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Won't Fix
Low
Unassigned

Bug Description

Brief Description
-----------------
AIO-SX Ansible setup failure during bringup-essential-services

Severity
--------
Critical

Steps to Reproduce
------------------
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml

Expected Behavior
------------------
AIO-SX Ansible setup success

Actual Behavior
----------------
2021-01-13 10:12:55,103 p=2241937 u=sysadmin | fatal: [localhost]: FAILED! => {"changed": true, "cmd": "source /etc/platform/openrc; openstack domain create armada-domain; openstack project create --domain armada-domain 'service'; openstack user create --domain armada-domain --project service --project-domain armada-domain --password WkhZUW1KcUt6UVRpVlFGcA== armada; openstack role add --project-domain armada-domain --user-domain armada-domain --user armada --project service admin", "delta": "0:00:19.125913", "end": "2021-01-13 10:12:55.092426", "msg": "non-zero return code", "rc": 1, "start": "2021-01-13 10:12:35.966513", "stderr": "Failed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.\nBad Gateway (HTTP 502)\nFailed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.\nBad Gateway (HTTP 502)\nFailed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.\nBad Gateway (HTTP 502)\nFailed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.\nBad Gateway (HTTP 502)", "stderr_lines": ["Failed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.", "Bad Gateway (HTTP 502)", "Failed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.", "Bad Gateway (HTTP 502)", "Failed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.", "Bad Gateway (HTTP 502)", "Failed to discover available identity versions when contacting http://localhost:5000/v3. Attempting to parse version from URL.", "Bad Gateway (HTTP 502)"], "stdout": "", "stdout_lines": []}
2021-01-13 10:12:55,104 p=2241937 u=sysadmin | PLAY RECAP ************************************************************************************************************************************************************************
2021-01-13 10:12:55,104 p=2241937 u=sysadmin | localhost : ok=265 changed=109 unreachable=0 failed=1

Reproducibility
---------------
100% reproducible

System Configuration
--------------------
Installation type: AIO-SX stx4.0
Host OS: Centos 7
controller-0:~$ cat /etc/build.info
###
### StarlingX
### Release 20.06
###

OS="centos"
SW_VERSION="20.06"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="r/stx.4.0"

JOB="STX_4.0_build_layer_flock"
<email address hidden>"
BUILD_NUMBER="22"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2020-08-05 12:25:52 +0000"

FLOCK_OS="centos"
FLOCK_JOB="STX_4.0_build_layer_flock"
<email address hidden>"
FLOCK_BUILD_NUMBER="22"
FLOCK_BUILD_HOST="starlingx_mirror"
FLOCK_BUILD_DATE="2020-08-05 12:25:52 +0000"

controller-0:~$ source /etc/platform/openrc
[sysadmin@controller-0 ~(keystone_admin)]$ system host-list
Authorization failed: Bad Gateway (HTTP 502)
[sysadmin@controller-0 ~(keystone_admin)]$ cat /etc/platform/openrc
unset OS_SERVICE_TOKEN

export OS_ENDPOINT_TYPE=internalURL
export CINDER_ENDPOINT_TYPE=internalURL

export OS_USERNAME=admin
export OS_PASSWORD=`TERM=linux /opt/platform/.keyring/20.06/.CREDENTIAL 2>/dev/null`
export OS_AUTH_TYPE=password
export OS_AUTH_URL=http://localhost:5000/v3

export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME=RegionOne
export OS_INTERFACE=internal

if [ ! -z "${OS_PASSWORD}" ]; then
    export PS1='[\u@\h \W(keystone_$OS_USERNAME)]\$ '
else
    echo 'Openstack Admin credentials can only be loaded from the active controller.'
    export PS1='\h:\w\$ '
fi

Branch/Pull Time/Commit
-----------------------
 http://mirror.starlingx.cengn.ca/mirror/starlingx/release/4.0.1/centos/flock/outputs/iso/ 05-Aug-2020 18:01

Last Pass
---------
Unknown

Test Activity
-------------
Evaluation

Workaround
----------
none

Tags: stx.config
Revision history for this message
Penghao (futro) wrote :
Revision history for this message
Penghao (futro) wrote :

StarlingX R4.0 bare metal All-in-one Simplex deployment configuration.

Ghada Khalil (gkhalil)
tags: added: stx.config
Revision history for this message
Ghada Khalil (gkhalil) wrote :

screening: marking as low priority due to lack of activity

Changed in starlingx:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' in 2 weeks.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Won't Fix' as there is no activity.

Changed in starlingx:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.