| Summary: | "rhui-manager cert upload" command is not available in RHUI v3 | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Satoru SATOH <ssato> |
| Component: | Tools | Assignee: | RHUI Bug List <rhui-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Vratislav Hutsky <vhutsky> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | igulina, rbiba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-11 09:09:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
'rhui-manager' CLI was returned back within Beta2 iso 20161220:
>> rhui-manager cert upload --help
Usage: rhui-manager [options]
Options:
-h, --help show this help message and exit
upload: uploads a new content certificate
--cert - full path to the new content certificate (required)
--key - full path to the new content certificate's key
Closing. NOTABUG.
|
Description of problem: In RHUI v2, we can upload RHUI content cert with using 'cert upload' sub command of rhui-manager however it seems disappeared in RHUI v3. Version-Release number of selected component (if applicable): 3.0 Beta.1 How reproducible: Always Additional info: If it's difficult or takes some to implement this into rhui-manager. An wrapper script or something does this may be enough such like: ---------------------------------------------------- #! /bin/bash # installed as /usr/sbin/rhui-manager_cert_upload.sh or something. set -e usage="$0 CERT_PATH" if test $# -lt 1; then echo $usage exit 1 fi read -s -p 'Password: ' -t 5 passwd cat << EOC | rhui-manager --username admin --password ${passwd:?} n u ${1} y q EOC ----------------------------------------------------