DC: "system --os-endpoint-type adminURL show" fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andy |
Bug Description
Brief Description
-----------------
In a DC system (where services' admin endpoints are https), the "system --os-endpoint-type adminURL show" fails with certificate verification error:
[root@controller-1 sysadmin(
Validation of the Ssl certificate failed. reason=[SSL: CERTIFICATE_
This happens on both System Controller and subclouds.
Severity
--------
Minor
Steps to Reproduce
------------------
In a DC system, run system command to query inventory by admin endpoint:
system --os-endpoint-type adminURL show
system --os-endpoint-type adminURL host-list
The command will fail with certificate verification error.
Expected Behavior
------------------
The command successfully executed.
Actual Behavior
----------------
The command will fail with certificate verification error.
Reproducibility
---------------
100% reproducible
System Configuration
-------
On both System Controller and subclouds of a DC system.
Branch/Pull Time/Commit
-------
stx master
Last Pass
---------
N/A
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Developer Testing
Workaround
----------
Specify the --ca-file option to point to the system's trusted CA cert bundle:
system --ca-file /etc/ssl/
Changed in starlingx: | |
assignee: | nobody → Andy (andy.wrs) |
stx.5.0 / medium - would be nice to fix, but there is a workaround