Bug 1024562

Summary: packstack will fail if mysql is secured for only localhost connections
Product: [Community] RDO Reporter: Mohammed Arafa <bugzilla>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, bugzilla, derekh, ichavero, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.29.dev1251.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-02 20:16:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.