Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1247015 - openstack undercloud install doesn't create rabbit user if you set custom passwords in undercloud.conf
openstack undercloud install doesn't create rabbit user if you set custom pas...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
Director
Unspecified Unspecified
high Severity unspecified
: y1
: 7.0 (Kilo)
Assigned To: James Slagle
Omri Hochman
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-27 03:26 EDT by Eduard Barrera
Modified: 2015-10-08 08:15 EDT (History)
4 users (show)

See Also:
Fixed In Version: instack-undercloud-2.1.2-25.el7ost
Doc Type: Bug Fix
Doc Text:
The Undercloud configuration script ignored rabbit user details in undercloud.conf and did not create the necessary user for rabbitmq. This caused a incorrect rabbitmq configuration that resulted in a failed Undercloud configuration. This fix adds code to the undercloud configuration script that creates the requested rabbitmq user with the requested password. All services now connect to rabbitmq using the requested username and password.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-08 08:15:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Gerrithub.io 244251 None None None Never
Red Hat Product Errata RHSA-2015:1862 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 12:05:50 EDT

  None (edit)
Description Eduard Barrera 2015-07-27 03:26:06 EDT
Description of problem:

The undercloud installer doesn't create the specified rabbit user when installing the undercloud, so all the openstack services are trying to authenticate against rabbit with the specified user and password but in rebbitmq.conf the user is guest:guest

Version-Release number of selected component (if applicable):
http://download.lab.bos.redhat.com/rel-eng/OpenStack/7.0-RHEL-7-director-Beta/2015-07-23.1/

How reproducible:
always

Steps to Reproduce:

1. edit undercloud.coinf and set the following parameters

undercloud_rabbit_password = mypasswd
undercloud_rabbit_username = rabbit


2. # openstack undercloud install
3. # openstack baremetal introspection bulk start
4. # tail -f /var/log/ironic/ironic*

Actual results:
Command take to long
Autentication errors in ironic logs
rabbitmq.config contains user:password guest:guest
the rest of openstack services are tying to use the specified password

Expected results:
rabbitmq.config  contains the specified user

Additional info:
Comment 6 Omri Hochman 2015-09-15 16:31:24 EDT
verified with instack-undercloud-2.1.2-26.el7ost.noarch

the password seems to apply in .conf and introspection of the nodes succeeded in timely manner: 
vi /etc/rabbitmq/rabbitmq.config
    },
    {default_user, <<"rabbit">>},
    {default_pass, <<"mypasswd">>}
  ]},
Comment 8 errata-xmlrpc 2015-10-08 08:15:47 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-2015:1862

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