Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why does packstack try to use the wrong mysql password?

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...?