Ask Your Question
0

Why does packstack try to use the wrong mysql password?

asked 2014-05-28 21:44:38 -0600

meloam gravatar image

I made an answer file for packstack and it failed because of a networking mistake. I tried running again with the same answer file, and it looks like the manifests aren't picking up the mysql password that's in the answer file:

[root@centos65 ~]# packstack --answer=file=bootstrap.answer --install-hosts=192.168.150.2,192.168.150.100
Welcome to Installer setup utility
<snip>
ERROR : Error appeared during Puppet run: 192.168.150.2_mysql.pp
Error: mysqladmin -u root  password 'b279ae0ff1174c5a' returned 1 instead of one of [0]
You will find full trace in log /var/tmp/packstack/20140528-223637-puhq5u/manifests/192.168.150.2_mysql.pp.log
<snip>
[root@centos65 ~]# grep MYSQL bootstrap.answer 
CONFIG_MYSQL_INSTALL=y
CONFIG_MYSQL_HOST=192.168.150.2
CONFIG_MYSQL_USER=root
CONFIG_MYSQL_PW=7c7f48b289b646ef

Why was packstack trying to use b279... for the mysql password when the answer file calls for 7c7f...?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-05-28 21:48:38 -0600

dbaxps gravatar image
Due to syntax error : packstack --answer=file=bootstrap.answer.
Should be packstack --answer-file=bootstrap.answer.
edit flag offensive delete link more

Comments

Wow, that's embarrasing...

meloam gravatar imagemeloam ( 2014-05-28 21:50:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-28 21:44:38 -0600

Seen: 773 times

Last updated: May 28 '14