![]() When sw-manager is used through a secure connection (https enabled) either with the remote CLI or within the cluster via the public interface, the operation fails if the Certificate Authority's cert is not included among the system's trusted CAs. The sw-manager client lacks implemented methods for referencing a local Certificate Authority Cert during calls. Therefore, if the CA is not among the system's trusted CAs, all calls made by sw-manager's CLI will fail since authentication in Keystone will also fail. Other CLIs like fm or platform allow referencing a CA Cert via the "REQUESTS_CA_BUNDLE" environment variable. The fix involves loading, if defined, the CA Cert referenced by such an environment variable, and adjusting SSL calls to verify connections using the provided CA Cert. Test Plan: PASS Fresh Install SX Env PASS Source openrc.sh file (internal interface). PASS sw-manager patch-strategy show PASS Enable secure mode (https) PASS Download OpenStack RC File from Horizon. PASS Source RC file inside cluster (public interface). PASS Set REQUESTS_CA_BUNDLE with CA-Cert path. PASS sw-manager patch-strategy show PASS Enable secure mode (https) PASS Download OpenStack RC File from Horizon. PASS Install remote CLI (custom container with changes) PASS Source downloaded RC file PASS Set REQUESTS_CA_BUNDLE with CA-Cert path. PASS sw-manager patch-strategy show Closes-bug: 2033561 Change-Id: If5b70714cde09bd8c329b976a8148daee9001415 Signed-off-by: Jorge Saffe <jorge.saffe@windriver.com> |
||
---|---|---|
api-ref/source | ||
devstack | ||
doc | ||
mtce-guest | ||
nfv | ||
nova-api-proxy | ||
releasenotes | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_build_layer.cfg | ||
centos_dev_docker_images.inc | ||
centos_dev_wheels.inc | ||
centos_guest_image.inc | ||
centos_guest_image_rt.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
centos_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
debian_stable_wheels.inc | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
nfv
StarlingX NFVI Orchestration