Hi Shubham,
The stx-openstack app is not officially supported on System Controller (in a distributed cloud environment).
The error below is due to the new dependency ‘barbicanclient’ is not included in the docker image.
Regards,
Tao
From: Gaur, Shubham <Shubham.Gaur@commscope.com>
Sent: Wednesday, December 9, 2020 12:56 AM
To: 'starlingx-discuss@lists.starlingx.io' <starlingx-discuss@lists.starlingx.io>
Subject: [Starlingx-discuss] [Query]: Keystone-API-Proxy pod not able to initialize as part of stx-openstack application-apply
[Please note this e-mail is from an EXTERNAL e-mail address]
Hi All,
Stx-openstack manifest apply is failing due to continuous CrashLoopBackOff of keystone API proxy pod. I have attached the starlingx build info and the logs of keystone
API proxy pod.
Log info highlights the barbicanclient python module missing (ImportError: No module named
barbicanclient).
StarlingX Info
[sysadmin@controller-0 ~(keystone_admin)]$ cat /etc/build.info
###
### StarlingX
### Built from master
###
OS="centos"
SW_VERSION="20.06"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID="20200812T013433Z"
JOB="STX_build_layer_flock_master_master"
BUILD_BY="starlingx.build@cengn.ca"
BUILD_NUMBER="210"
BUILD_HOST="starlingx_mirror"
BUILD_DATE="2020-08-12 01:34:33 +0000"
FLOCK_OS="centos"
FLOCK_JOB="STX_build_layer_flock_master_master"
FLOCK_BUILD_BY="starlingx.build@cengn.ca"
FLOCK_BUILD_NUMBER="210"
FLOCK_BUILD_HOST="starlingx_mirror"
FLOCK_BUILD_DATE="2020-08-12 01:34:33 +0000"
Keystone API Proxy Pod
[sysadmin@controller-0 ~(keystone_admin)]$ kubectl logs keystone-api-proxy-d78757c74-l2xb5 -n openstack
+ dcorch-api-proxy --config-file=/etc/dcorch/dcorch.conf --type identity
Traceback (most recent call last):
File "/var/lib/openstack/bin/dcorch-api-proxy", line 5, in <module>
from dcorch.cmd.api_proxy import main
File "/var/lib/openstack/lib/python2.7/site-packages/dcorch/cmd/api_proxy.py", line 42, in <module>
from dcorch.api.proxy.common import utils
File "/var/lib/openstack/lib/python2.7/site-packages/dcorch/api/proxy/common/utils.py", line 26, in <module>
from dccommon.drivers.openstack import sdk_platform as sdk
File "/var/lib/openstack/lib/python2.7/site-packages/dccommon/drivers/openstack/sdk_platform.py", line 26, in <module>
from dccommon.drivers.openstack.barbican import BarbicanClient
File "/var/lib/openstack/lib/python2.7/site-packages/dccommon/drivers/openstack/barbican.py", line 23, in <module>
from barbicanclient import client
ImportError: No module named barbicanclient