DescriptionBenjamin Schmaus
2018-01-30 00:23:31 UTC
Description of problem:
When deploying an overcloud stack with the OSP12 Tripleo Heat Templates, and overriding the default RabbitMQ admin user with the "RabbitUserName" parameter, Neutron will not be configured with a correct transport_url defaulting to the guest user which does not exist.
DEFAULT/rabbitmq_userid will be set correctly, but this is deprecated and will be overriden by the transport_url setting.
The issue is an incorrect parameter mapping in puppet-tripleo, tripleo::profile::base::neutron:
$oslomsg_rpc_username = hiera('neutron::rabbit_userid', 'guest')
https://github.com/openstack/puppet-tripleo/blob/master/manifests/profile/base/neutron.pp#L88
Unlike the other services that user rabbit_userid, Neutron maps this parameter to neutron::rabbit_user
https://github.com/openstack/tripleo-heat-templates/blob/stable/pike/puppet/services/neutron-base.yaml#L127
openstack-tripleo-heat-templates-7.0.3-18.el7ost.noarch
puppet-tripleo-7.4.3-11.el7ost.noarch
Version-Release number of selected component (if applicable):
OSP12
How reproducible:
100%
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:2331