Bug 1175428
Summary: | packstack doesn't configure rabbitmq to allow non-localhost connections to 'guest' user | ||
---|---|---|---|
Product: | [Community] RDO | Reporter: | Richard W.M. Jones <rjones> |
Component: | openstack-packstack | Assignee: | Lukas Bezdicka <lbezdick> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | aortega, derekh, ichavero, lbezdick, srevivo, yeylon |
Target Milestone: | --- | ||
Target Release: | Juno | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-30 23:10:11 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: |
Description
Richard W.M. Jones
2014-12-17 17:57:59 UTC
Also a good idea to chattr -i /etc/rabbitmq/rabbitmq.config so that puppet cannot change it back again. It would be good to get a more permanent fix for this ... Make that: chattr +i /etc/rabbitmq/rabbitmq.config The proper fix was to add the line marked with a '+' sign to /usr/lib/python2.7/site-packages/packstack/puppet/templates/amqp.pp : class { 'rabbitmq': port => hiera('CONFIG_AMQP_CLIENTS_PORT'), ssl_management_port => hiera('CONFIG_AMQP_SSL_PORT'), ssl => hiera('CONFIG_AMQP_ENABLE_SSL'), ssl_cert => hiera('CONFIG_AMQP_SSL_CERT_FILE'), ssl_key => hiera('CONFIG_AMQP_SSL_KEY_FILE'), default_user => hiera('CONFIG_AMQP_AUTH_USER'), default_pass => hiera('CONFIG_AMQP_AUTH_PASSWORD'), package_provider => 'yum', admin_enable => false, config_variables => { 'tcp_listen_options' => "[binary,{packet, raw},{reuseaddr, true},{backlog, 128},{nodelay, true},{exit_on_close, false},{keepalive, true}]", + 'loopback_users' => "[]" } |