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 1152715 - capsule-certs-generate defaults to ACME_Organization instead of Default_Organization
Summary: capsule-certs-generate defaults to ACME_Organization instead of Default_Organ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Stephen Benjamin
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-14 19:05 UTC by Hayley Hudgeons
Modified: 2017-02-23 20:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:18:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 8261 0 None None None 2016-04-22 15:59:56 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Hayley Hudgeons 2014-10-14 19:05:47 UTC
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 19:06:39 UTC
Related issue: https://bugzilla.redhat.com/show_bug.cgi?id=1129256

Comment 2 RHEL Program Management 2014-10-14 19:23:10 UTC
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 15:13:50 UTC
Created redmine issue http://projects.theforeman.org/issues/8261 from this bug

Comment 5 Bryan Kearney 2014-12-02 15:04:26 UTC
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 10:04:44 UTC
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 13:22:23 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 errata-xmlrpc 2015-08-12 05:18:04 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


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