Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2033381 - Remove the space at the end of foreman-proxy-certs-generate printed installer cmd
Summary: Remove the space at the end of foreman-proxy-certs-generate printed installer...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.10.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-16 16:10 UTC by Ganesh Payelkar
Modified: 2023-09-18 04:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:33:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman-installer pull 761 0 None Merged Remove trailing slash from certs-generate output 2022-08-01 12:09:35 UTC
Red Hat Issue Tracker SAT-12368 0 None None None 2022-08-22 14:41:30 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:33:17 UTC

Description Ganesh Payelkar 2021-12-16 16:10:58 UTC
Description of problem:

Remove the space at the end of foreman-proxy-certs-generate printed installer cmd

Version-Release number of selected component (if applicable):
satellite-6.8.6-1.el7sat.noarch

How reproducible:
When creating certs through capsule-certs-generate

Steps to Reproduce:
1. To install the external capsule 
2. Generate certs through capsule-certs-generate
3. Copy the installer cmd

Actual results: 

# capsule-certs-generate --foreman-proxy-fqdn capsule.example.com --certs-tar /root/capsule_cert/capsule_certs.tar
Preparing installation Done                                              
  Success!

satellite-installer \
--scenario capsule \  <-------  Here, it's a space before a backslash ("\")
--certs-tar-file                              "/root/capsule_cert/capsule_certs.tar"\   <----- Look at here!
--foreman-proxy-content-parent-fqdn           "satellite.example.com"\  <------ Look at here!
--foreman-proxy-register-in-foreman           "true"\  <------ Look at here!                


Expected results:

Remove the extra space from the first 2 lines. 

Additional info:

he generated a "satellite-installer" command that contains minor errors that might be confusing for a user - to break lines a "\" is used but there is no space between the "\" and the actual end of the line.

Comment 2 Gaurav Talreja 2022-08-22 14:21:48 UTC
Verified.

Tested on Satellite 6.12.0 Snap 7.0
Version: foreman-installer-3.3.0-1.el8sat.noarch

Steps:  
1. # capsule-certs-generate --foreman-proxy-fqdn $CAPSULE_FQDN --certs-tar ~/$CAPSULE_FQDN-certs.tar

Observation:
No trailing/extra space present in stdout when running a capsule-certs-generate command.

Comment 6 errata-xmlrpc 2022-11-16 13:33:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8506

Comment 7 Red Hat Bugzilla 2023-09-18 04:29:26 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.