Bug 1024562 - packstack will fail if mysql is secured for only localhost connections
Summary: packstack will fail if mysql is secured for only localhost connections
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ivan Chavero
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-30 00:11 UTC by Mohammed Arafa
Modified: 2014-10-02 20:16 UTC (History)
5 users (show)

Fixed In Version: openstack-packstack-2014.1.1-0.29.dev1251.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-02 20:16:48 UTC


Attachments (Terms of Use)

Description Mohammed Arafa 2013-10-30 00:11:22 UTC
Description of problem:
packstack will fail if mysql is secured for only localhost connections

with this error:
Error: Execution of '/usr/bin/mysql --host=192.168.0.31 --user=root --password=password -NBe create database `keystone` character set latin1' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'compute01' (using password: YES)


Version-Release number of selected component (if applicable):


How reproducible:
everytime

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ivan Chavero 2014-01-15 07:19:39 UTC
Is mysql previously installed??

Comment 2 Mohammed Arafa 2014-01-15 11:47:00 UTC
yes

Comment 3 Ivan Chavero 2014-10-02 20:16:48 UTC
Packstack is suppoused to be executed in a clean environment, however if mysql is previously installed you have to set the proper credentials in the CONFIG_MARIADB_PW entry in the answer file.


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