Red Hat Bugzilla – Bug 1152715
capsule-certs-generate defaults to ACME_Organization instead of Default_Organization
Last modified: 2017-02-23 15:52:34 EST
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:
Related issue: https://bugzilla.redhat.com/show_bug.cgi?id=1129256
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.
Created redmine issue http://projects.theforeman.org/issues/8261 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/8261 has been closed ------------- Anonymous Applied in changeset commit:katello-installer|a09d70322a301b23daae61c1e6779bef285b3f92.
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
This bug is slated to be released with Satellite 6.1.
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