Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1539961 - RabbitMQ user name not set in Neutron transport_url [NEEDINFO]
RabbitMQ user name not set in Neutron transport_url
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo (Show other bugs)
12.0 (Pike)
x86_64 Linux
high Severity high
: z3
: 12.0 (Pike)
Assigned To: Brent Eagles
Toni Freger
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-29 19:23 EST by Benjamin Schmaus
Modified: 2018-08-20 08:59 EDT (History)
14 users (show)

See Also:
Fixed In Version: puppet-tripleo-7.4.12-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-08-20 08:58:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jamsmith: needinfo? (beagles)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1746034 None None None 2018-01-29 19:23 EST
OpenStack gerrit 538966 None None None 2018-01-29 21:28 EST
OpenStack gerrit 550440 None None None 2018-07-05 10:52 EDT
Red Hat Product Errata RHSA-2018:2331 None None None 2018-08-20 08:59 EDT

  None (edit)
Description Benjamin Schmaus 2018-01-29 19:23:31 EST
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:
Comment 1 Jakub Libosvar 2018-02-01 09:54:59 EST
This bug has already a patch upstream and Brent has reviewed it, so I'm assigning this bug to Brent.
Comment 14 errata-xmlrpc 2018-08-20 08:58:39 EDT
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

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