Bug 1247015 - openstack undercloud install doesn't create rabbit user if you set custom passwords in undercloud.conf
Summary: openstack undercloud install doesn't create rabbit user if you set custom pas...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: Director
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: y1
: 7.0 (Kilo)
Assignee: James Slagle
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-27 07:26 UTC by Eduard Barrera
Modified: 2023-02-22 23:02 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-10-08 12:15:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 244251 0 None None None Never
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Eduard Barrera 2015-07-27 07:26:06 UTC
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 20:31:24 UTC
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 12:15:47 UTC
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.