Ask Your Question

keystone access denied with mysql on Red Hat

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

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'@'' (using password: YES)") None None

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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

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'@' IDENTIFIED BY 'nova';"

Problem solved! :-)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-10-23 17:57:00 -0600

Seen: 69 times

Last updated: Oct 24 '12