Bug 1323567

Summary: when `capsule-certs-generate` is started without options (or without "--certs-tar"), it does not provide useful hints
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: CapsuleAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-02 20:59:16 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:

Description Jan Hutař 2016-04-04 06:43:10 UTC
Description of problem:
When `capsule-certs-generate` is started without options at all (or, say, without "--certs-tar" only), it does not provide useful hints.


Version-Release number of selected component (if applicable):
Compose installed yesterday, can not say compose ID though.
foreman-installer-katello-3.0.0.14-1.el6sat.noarch


How reproducible:
always


Steps to Reproduce:
1. # capsule-certs-generate
2. # capsule-certs-generate --capsule-fqdn capsule.example.com


Actual results:
Output in both of these cases ^^^ does not say what is wrong (i.e. "options are missing")


Expected results:
It should inform me about missing options and possibly point me to some documentation


Additional info:
# capsule-certs-generate --capsule-fqdn capsule.example.com
 must be present at /usr/share/katello-installer-base/modules/certs/manifests/capsule.pp:20 on node sat6.example.com
 must be present at /usr/share/katello-installer-base/modules/certs/manifests/capsule.pp:20 on node sat6.example.com
Preparing installation Done                                              
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/capsule-certs-generate.log

# capsule-certs-generate
Preparing installation Done                                              
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/capsule-certs-generate.log

Comment 2 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Bryan Kearney 2016-07-26 15:31:22 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2018-08-02 20:59:16 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.