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.