Bug 1500521

Summary: capsule-certs-generate does not output the "capsule" scenario
Product: Red Hat Satellite Reporter: Christian Marineau <cmarinea>
Component: CertificatesAssignee: Eric Helms <ehelms>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.0CC: bbuckingham
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-13 15:13:23 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:
Embargoed:

Description Christian Marineau 2017-10-10 20:08:02 UTC
Description of problem:
capsule-certs-generate does not output the "capsule" scenario

Version-Release number of selected component (if applicable):
6.3.0

How reproducible:
100%

Steps to Reproduce:
1. Run the following
   # capsule-certs-generate --foreman-proxy-fqdn capsule.remote.example.com --certs-tar ~/capsule.remote.example.com-certs.tar

2. The output will be the following
   satellite-installer --scenario foreman-proxy-content
   --foreman-proxy-content-parent-fqdn           "satellite6.example.com"\
   [..]

Actual results:
The command generated will refer to the wrong scenario. The Capsule will be expecting "capsule" scenario and not "foreman-proxy-content"

Expected results:
Have the certs-tar generate to proper output and be consistent with the version shipped with Satellite 6.2.X

Additional info:
The following BZ is indirectly related to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1499316