Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1121097

Summary: `katello-installer --help` mentions default twice for some options
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: InstallationAssignee: Eric Helms <ehelms>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, bkearney, ehelms, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/8270
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:10:44 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 Jan Hutař 2014-07-18 10:54:31 UTC
Description of problem:
`katello-installer --help` mentions default twice for some options


Version-Release number of selected component (if applicable):
Satellite-6.0.4-RHEL-6-20140716.0


How reproducible:
always


Steps to Reproduce:
1. katello-installer --help


Actual results:
= Module certs:
    --certs-ca-common-name        Common name for the generated CA certificate (default: "<fqdn>")
    --certs-ca-expiration         Ca expiration attribute for managed certificates (default: "36500")
    --certs-city                  City attribute for managed certificates (default: "Raleigh")
    --certs-country               Country attribute for managed certificates (default: "US")
    --certs-default-ca-name       The name of the default CA;
                                  default 'katello' (default: "katello-ca")
    --certs-deploy                Deploy the certs on the configured system. False means
                                  we want apply it on a different system (default: true)
    --certs-expiration            Expiration attribute for managed certificates (default: "7300")
    --certs-generate              Should the generation of the certs be part of the
                                  configuration (default: true)
    --certs-group                 The group who should own the certs;
                                  default 'foreman' (default: "foreman")
    --certs-log-dir               When the log files should go (default: "/var/log/certs")
    --certs-node-fqdn             The fqdn of the host the generated certificates
                                  should be for (default: "<fqdn>")
    --certs-org                   Org attribute for managed certificates (default: "SomeOrg")
    --certs-org-unit              Org unit attribute for managed certificates (default: "SomeOrgUnit")
    --certs-password-file-dir     The location to store password files (default: "certs::params::password_file_dir")
    --certs-pki-dir               The PKI directory under which to place certs (default: "/etc/pki/katello")
    --certs-regenerate            Force regeneration of the certificates (excluding
                                  ca certificates) (default: false)
    --certs-regenerate-ca         Force regeneration of the ca certificate (default: false)
    --certs-ssl-build-dir         The directory where SSL keys, certs and RPMs will be generated (default: "/root/ssl-build")
    --certs-state                 State attribute for managed certificates (default: "North Carolina")
    --certs-user                  The system user name who should own the certs;
                                  default 'foreman' (default: "root")
[...]
= Module katello:
    --katello-config-dir          Location for Katello config files (default: "/etc/foreman/plugins")
    --katello-group               The Katello system user group;
                                  default 'foreman' (default: "foreman")
    --katello-log-dir             Location for Katello log files to be placed (default: "/var/log/foreman/plugins")
    --katello-oauth-key           The oauth key for talking to the candlepin API;
                                  default 'katello' (default: "katello")
    --katello-oauth-secret        The oauth secret for talking to the candlepin API; (default: "tNxhuTUXm6euGJvQd2qaZo43ni4N9uBB")
    --katello-post-sync-token     The shared secret for pulp notifying katello about
                                  completed syncs (default: "4x9CWGiwdzoPQZLbEpSEQTwUgGx7vo4n")
    --katello-proxy-password      Proxy password for authentication (default: nil)
    --katello-proxy-port          Port the proxy is running on (default: nil)
    --katello-proxy-url           URL of the proxy server (default: nil)
    --katello-proxy-username      Proxy username for authentication (default: nil)
    --katello-use-passenger       Whether Katello is being deployed with Passenger;
                                  default true (default: true)
    --katello-user                The Katello system user name;
                                  default 'foreman' (default: "foreman")
    --katello-user-groups         Extra user groups the Katello user is a part of;
                                  default 'foreman (default: "foreman")


Expected results:
These options mentions "default" value twice:
    --certs-default-ca-name
    --certs-group
    --certs-user
    --katello-group
    --katello-oauth-key
    --katello-use-passenger
    --katello-user
    --katello-user-groups

Comment 2 Eric Helms 2014-11-04 20:11:54 UTC
Created redmine issue http://projects.theforeman.org/issues/8270 from this bug

Comment 3 Bryan Kearney 2014-12-02 21:02:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8270 has been closed

Comment 7 Kedar Bidarkar 2015-02-13 10:10:57 UTC
VERIFIED with Sat6.1 Beta -snap2

As per the comment 0 description, we now have only one 'default'.

[root@xxxx ~]# katello-installer --help | grep -ie certs-default-ca-name -ie certs-group -ie certs-user -ie katello-group -ie katello-oauth-key -ie katello-use-passenger -ie katello-user -ie katello-user-groups 
    --certs-default-ca-name       The name of the default CA (default: "katello-default-ca")
    --certs-group                 The group who should own the certs; (default: "foreman")
    --certs-user                  The system user name who should own the certs; (default: "root")
    --katello-group               The Katello system user group (default: "foreman")
    --katello-oauth-key           The oauth key for talking to the candlepin API (default: "katello")
    --katello-use-passenger       Whether Katello is being deployed with Passenger (default: true)
    --katello-user                The Katello system user name (default: "foreman")
    --katello-user-groups         Extra user groups the Katello user is a part of (default: "foreman")

Comment 8 Bryan Kearney 2015-08-11 13:34:06 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:10:44 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, 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-2015:1592