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 1133497 - Candlepin fails to initialize due to missing certificates (puppet ordering issue)
Summary: Candlepin fails to initialize due to missing certificates (puppet ordering is...
Keywords:
Status: CLOSED DUPLICATE of bug 1121787
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2014-08-25 10:12 UTC by Ivan Necas
Modified: 2014-08-28 22:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-25 15:13:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ivan Necas 2014-08-25 10:12:47 UTC
Description of problem:
In some configurations, the ordering of the puppet resoruces causes
candlepin not to be initialized properly, issuing

/Stage[main]/Certs::Candlepin/File[/etc/candlepin/certs/amqp]: Scheduling refresh of Exec[create candlepin qpid exchange]
[cloud-qe-11.idmqe.lab.eng.bos.redhat.com] out: [ WARN 2014-08-24 17:38:30 verbose]  /Stage[main]/Certs::Candlepin/Exec[create candlepin qpid exchange]/returns: Failed: ConnectError: [Errno 111] Connection refused
[cloud-qe-11.idmqe.lab.eng.bos.redhat.com] out: [ERROR 2014-08-24 17:38:30 verbose]  qpid-config --ssl-certificate /etc/pki/katello/certs/java-client.crt --ssl-key /etc/pki/katello/private/java-client.key -b 'amqps://cloud-qe-11.idmqe.lab.eng.bos.redhat.com:5671' add exchange topic event --durable returned 1 instead of one of

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

How reproducible:
Sometimes (Puppet non-deterministic) ordering issue)

Steps to Reproduce:
1. katello-installer

Actual results:
Installer fails

Expected results:
Installer succeeds

Additional info:

Workaround:

rm /var/lib/pulp/init.flag
echo >> /etc/foreman/database.yml
katello-installer

Comment 2 Ivan Necas 2014-08-25 15:12:56 UTC
It turned out to be an issue when qpid was not ready fully after the start

Comment 3 Ivan Necas 2014-08-25 15:13:17 UTC

*** This bug has been marked as a duplicate of bug 1121787 ***


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