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 790835 - Create a RPM package with consumer certificate and rhsm conf for bootstrapping
Summary: Create a RPM package with consumer certificate and rhsm conf for bootstrapping
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: 786049 787995 798882
TreeView+ depends on / blocked
 
Reported: 2012-02-15 14:08 UTC by Lukas Zapletal
Modified: 2019-09-25 21:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 798882 (view as bug list)
Environment:
Last Closed: 2012-08-22 18:27:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Installation log (2.11 KB, text/x-log)
2012-03-05 20:19 UTC, Og Maciel
no flags Details

Description Lukas Zapletal 2012-02-15 14:08:09 UTC
More info here:

https://fedorahosted.org/katello/wiki/ConsumerBootstrap

We need to integrate this into Katello.

Comment 2 Lukas Zapletal 2012-02-15 14:42:19 UTC
Note to myself:

- test with headpin (sam)
- put candlepin crt in the pub directory (pem format)

Comment 3 Lukas Zapletal 2012-02-20 14:26:02 UTC
Note to myself:

- before ON_QA modify new bootstrap.sh

https://bugzilla.redhat.com/show_bug.cgi?id=788708

Comment 4 Lukas Zapletal 2012-02-27 12:24:26 UTC
125d95c 790835 - Create bootstrap RPM package with cons. cert

Comment 6 Lukas Zapletal 2012-02-27 15:41:13 UTC
Pushing one fix:

45275b6 790835 - restart goferd after rhsm configuration and fix

Comment 8 Garik Khachikyan 2012-03-02 12:48:48 UTC
# NOTE

Accessing:
yum -y install http://<cfse-fqdn>/pub/candlepin-cert-consumer-<cfse-fqdn>-1.0-1.noarch.rpm

fails as well as the one with https:// option there.

Please provide more info (+update wiki) how there should be possible to install the rpm there.

(worst case: wget + localinstall ?)

Comment 10 Garik Khachikyan 2012-03-02 12:53:51 UTC
# REOPEN

running the rpm on CFSE it still does configuration to:
prefix = /katello/api

which is wrong. Please fix so for CFSE we would have: cfse there.

Comment 11 Garik Khachikyan 2012-03-02 13:02:32 UTC
otherwise registration goes fine :)

Comment 12 Garik Khachikyan 2012-03-02 13:19:29 UTC
and the port 80 access: was my issue actually, yum install http://<...and so> goes fine there.

Comment 13 Lukas Zapletal 2012-03-02 15:28:46 UTC
Issue 1: https://fedorahosted.org/katello/wiki/FirewallConfiguration

Issue 2 & 3: Fixing now.

88daa30 790835 - fixing deployment url and goferd restart in bootstrap

Comment 15 Lukas Zapletal 2012-03-02 15:29:44 UTC
Garik please retest, thanks.

Comment 16 Og Maciel 2012-03-05 20:19:46 UTC
Created attachment 567747 [details]
Installation log

Saw this while installing it:

Non-fatal POSTIN scriptlet failure in rpm package candlepin-cert-consumer-qetello01.usersys.redhat.com-1.0-1.noarch
goferd: unrecognized service
warning: %post(candlepin-cert-consumer-qetello01.usersys.redhat.com-1.0-1.noarch) scriptlet failed, exit status 1

Attached log.

Comment 17 James Laska 2012-03-08 14:08:16 UTC
Seeing the same scriptlet failure ...

   1 warning: %post(candlepin-cert-consumer-flatline-katello.usersys.redhat.com-1.0-1.noarch) scriptlet failed, exit status 1

The meat of the consumer-certificate package is in it's postinstall script.  lzap indicates that this scriptlet failure will go away once katello-configure-0.1.104-1.el6 lands in CFSE.  

If this problem remains under that package, a new blocker request will need to be filed.

Comment 18 Jeff Weiss 2012-03-14 17:04:26 UTC
Verified, katello-configure-0.1.104-1.el6.noarch
katello-0.1.303-1.el6.noarch


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