Ask Your Question
0

keystone access denied with mysql on Red Hat

asked 2012-10-23 17:57:00 -0500

donald-mize gravatar image

I've been working with OpenStack and Keystone for a while with Ubuntu successfully. Now I'm trying to install it on Red Hat 6.3. I'm getting the Openstack and Keystone stuff from the EPEL site. I do the install of mysql and openstack-keystone and reconfigure the keystone.conf file as I do with Ubuntu and I still get sqlalchemy.exc.OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'xnode9.lambda.net' (using password: YES)") None None

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-10-24 19:21:38 -0500

donald-mize gravatar image

I found the issue. When setting up the database on Ubuntu this works.

mysql -uroot -pnova -e "GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'nova';"

On Red Hat 6.3 this part 'keystone'@'%' is wrong. You must have keystone@machine/ipaddress. For example in this instance this worked.

mysql -uroot -pnova -e "GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@172.17.86.9' IDENTIFIED BY 'nova';"

Problem solved! :-)

edit flag offensive delete link more

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: 2012-10-23 17:57:00 -0500

Seen: 53 times

Last updated: Oct 24 '12