Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1152715 - capsule-certs-generate defaults to ACME_Organization instead of Default_Organization
capsule-certs-generate defaults to ACME_Organization instead of Default_Organ...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Installer (Show other bugs)
6.0.4
x86_64 Linux
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Stephen Benjamin
Kedar Bidarkar
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-14 15:05 EDT by Hayley Hudgeons
Modified: 2017-02-23 15:52 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:18:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 8261 None None None 2016-04-22 11:59 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Hayley Hudgeons 2014-10-14 15:05:47 EDT
Description of problem:
The capsule-certs-generate command defaults to using "ACME_Corporation" if you don't specify --org when running the command. If anything, it should default to "Default_Organization" since "ACME_Corporation" was removed prior to GA. 

Also, the output from capsule-certs-generate --help says that it defaults to "SomeOrg", but this should be changed as well. See below:

--org    Org attribute for managed certificates (default: "SomeOrg")


Version-Release number of selected component (if applicable):
katello-installer-0.0.64-1.el6sat.noarch

How reproducible:
Every time capsule-certs-generate is run with out --org

Steps to Reproduce:
1.run capsule-certs-generate without --org
2.
3.

Actual results:
capsule-certs-generate command defaults to using "ACME_Corporation" if you don't specify --org when running the command

Expected results:
 If anything, it should default to "Default_Organization" since "ACME_Corporation" was removed prior to GA. 

Additional info:
Comment 1 Hayley Hudgeons 2014-10-14 15:06:39 EDT
Related issue: https://bugzilla.redhat.com/show_bug.cgi?id=1129256
Comment 2 RHEL Product and Program Management 2014-10-14 15:23:10 EDT
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 4 Stephen Benjamin 2014-11-04 10:13:50 EST
Created redmine issue http://projects.theforeman.org/issues/8261 from this bug
Comment 5 Bryan Kearney 2014-12-02 10:04:26 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/8261 has been closed
-------------
Anonymous
Applied in changeset commit:katello-installer|a09d70322a301b23daae61c1e6779bef285b3f92.
Comment 8 Kedar Bidarkar 2015-02-13 05:04:44 EST
VERIFIED With Sat6.1 Beta Snap2

AS seen below now the suggestion defaults to "Default_Organization" 

[root@xxxx ~]# capsule-certs-generate --capsule-fqdn $CAPSULE_FQDN --certs-tar ~/$CAPSULE_FQDN-certs.tar
Installing             Done                                               [100%] [..........................................................................................................]
  Success!

  To finish the installation, follow these steps:

  1. Ensure that the capsule-installer is available on the system.
     The capsule-installer comes from the katello-installer package and
     should be acquired through the means that are appropriate to your deployment.
  2. Copy /root/xxxx.redhat.com-certs.tar to the system yyyyy.redhat.com
  3. Run the following commands on the capsule (possibly with the customized
     parameters, see capsule-installer --help and
     documentation for more info on setting up additional services):

  rpm -Uvh http://xxxx.pnq.redhat.com/pub/katello-ca-consumer-latest.noarch.rpm
  subscription-manager register --org "Default_Organization"
  capsule-installer --parent-fqdn          "xxxx.redhat.com"\
                    --register-in-foreman  "true"\
                    --foreman-oauth-key    "KVJMXg237jfRiAJbu9EXCF8LRmxX88hT"\
                    --foreman-oauth-secret "NRjm5zehVHntpZrkhPwDyTBJVxmbcsSq"\
                    --pulp-oauth-secret    "pLjFXGrtG2SgivFBfW4MJAuMPB56zRD3"\
                    --certs-tar            "/root/xxxx.redhat.com-certs.tar"\
                    --puppet               "true"\
                    --puppetca             "true"\
                    --pulp                 "true"
  The full log is at /var/log/katello-installer/capsule-certs-generate.log
Comment 9 Bryan Kearney 2015-08-11 09:22:23 EDT
This bug is slated to be released with Satellite 6.1.
Comment 10 errata-xmlrpc 2015-08-12 01:18:04 EDT
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

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