Bug 1147224
| Summary: | Packstack install AMQP with SSL, fails to start rabbitmq service | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Tzach Shefi <tshefi> | ||||||||||
| Component: | openstack-packstack | Assignee: | Lukas Bezdicka <lbezdick> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> | ||||||||||
| Severity: | high | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 5.0 (RHEL 6) | CC: | aortega, derekh, gdubreui, ichavero, srevivo, tshefi, yeylon | ||||||||||
| Target Milestone: | --- | Keywords: | ZStream | ||||||||||
| Target Release: | 5.0 (RHEL 7) | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | |||||||||||||
| : | 1199519 (view as bug list) | Environment: | |||||||||||
| Last Closed: | 2015-08-27 19:05:04 UTC | Type: | Bug | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 1199519 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Tzach Shefi
2014-09-28 08:28:35 UTC
Hi Tzach, Could you please provide rabbitmq logs? Regards, Gilles It seems, although the CONFIG_AMQP_SSL_SELF_SIGNED option is present in the answer file, that certificate file is missing. The default self-signed certificate and key files are supposed to be: /etc/pki/tls/certs/amqp_selfcert.pem /etc/pki/tls/private/amqp_selfkey.pem Could you please verify and provide files content if existing? Certificate files were created, attaching them again plus rabbitmq logs. Created attachment 942175 [details]
Certificate files
Created attachment 942176 [details]
Selfcert
Created attachment 942177 [details]
rabbitmq log
Hi Tzach, Thanks for the update. Could you please confirm following: After using the new manifest amqp.pp mentioned by Lukas, Rabbitmq service installs correctly and is up and running? If that the case then it's a different issue and I believe we need to track it down separately. Regards Hi Gilles, Confirm after using new manifest amqp.pp service looks up and running. Service is up and running: [root@cougar08 rabbitmq]# systemctl -t service -a | grep rabbit rabbitmq-server.service loaded active running RabbitMQ broker Port is open and listening: Rabbitmq ssl port 5671 looks OK [root@cougar08 rabbitmq]# netstat -lnp | grep 5671 tcp6 0 0 :::5671 :::* LISTEN 13589/beam.smp [root@cougar08 rabbitmq]# firewall rule added: -A INPUT -s 10.35.160.137/32 -p tcp -m multiport --dports 5671,5672 -m comment --comment "001 amqp incoming amqp_10.35.160.137" -j ACCEPT Yet I still can't explain how then Nova can't reach rabbitmq Notice Nova's journalctl -xn error -> 2014-09-28 11:20:20.967 17723 ERROR oslo.messaging._drivers.impl_rabbit [req-0e21fb20-fbc0-47bd-851f-172210e65d63 - - - - -] AMQP server on 10.35.160.137:5671 is unreachable: Socket closed. Trying again in 30 seconds. Sep 28 11:20:21 cougar08.scl.lab.tlv.redhat.com cinder-backup[17630]: 2014-09-28 11:20:21.066 17630 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on 10.35.160.137:5671 is unreachable: Socket closed. Trying again in 30 seconds. Do you still recommend following it up as a new bug for Nova? Yes, it seems the initial issue has been fixed, having Rabbitmq listening on ssl port. The other openstack services which cannot reach rabbitmq seems to be related to comment#1 mentioning upstream issue, should effectively be followed up separately. The amqp.pp patch will also make its way to the build. Created new Packstack bug for Nova bug described on comment#8 https://bugzilla.redhat.com/show_bug.cgi?id=1147823 current icehouse packstack code does not have this problem. |