← Back to team overview

openstack team mailing list archive

Re: keystone start fails due to mysql password mismatch running stack.sh

 

On Fri, Jan 11, 2013 at 2:13 PM, Snider, Tim <Tim.Snider@xxxxxxxxxx> wrote:
> The localrc file has the correct unencoded password:
>        root@84Server:~/devstack# cat localrc
>        FLOATING_RANGE=192.168.1.224/27
>        FIXED_RANGE=10.0.0.0/24
>        FIXED_NETWORK_SIZE=256
>        FLAT_INTERFACE=eth0
>        ADMIN_PASSWORD=infiniti
>        MYSQL_PASSWORD=infiniti
>        RABBIT_PASSWORD=infiniti
>         + mysql -uroot -pec0ff00c787573ed5ea2 -e 'DROP DATABASE IF EXISTS keystone;'

OK, this is the clue... the password in mysql commands is not encoded,
it is $MYSQL_PASSWORD.  And in fact that isn't an encoded password but
an auto-generated one from the read_password function that creates a
password if one is not entered using 'openssl rand -hex 10'.
Something is stomping on your MYSQL_PASSWORD from localrc.

Is that value different on each run?

dt

-- 

Dean Troyer
dtroyer@xxxxxxxxx


References