sysinv requests not working from remote_cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Andy |
Bug Description
Brief Description
-----------------
On remote cli, system command such as "system host-list" doesn't work with options "-k/--insecure", "--ca-file", "--cert-file" and ""--key-file" over HTTPS.
Severity
--------
Major: cannot access system information from remote cli.
Steps to Reproduce
------------------
- Setup remote cli environment
- run "system host-list" with the 4 options such as:
system host-list
system -k host-list
system --ca-file=
Expected Behavior
------------------
The command succeeds.
Actual Behavior
----------------
The commands fail with error:
$ system host-list
Must provide Keystone credentials or user-defined endpoint and token, error was: SSL exception connecting to https:/
Reproducibility
---------------
100% reproducible
System Configuration
-------
Remote cli to access a HTTPs enabled system (any configurations)
Branch/Pull Time/Commit
-------
STX master latest.
Last Pass
---------
Unknown
Timestamp/Logs
--------------
See "Steps to Reproduce"
Test Activity
-------------
Regression Testing
Workaround
----------
In the remote cli environment, set OS_CACERT to point to a valid CA or CA bundle.
export OS_CACERT=
Changed in starlingx: | |
assignee: | nobody → Andy (andy.wrs) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.clients |
Changed in starlingx: | |
status: | Fix Released → In Progress |
Changed in starlingx: | |
status: | In Progress → Fix Released |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/848639
Review: https:/