Ask Your Question
1

Keystone MySQL problem after setting up Apache/mod_wsgi

asked 2014-06-27 12:48:26 -0500

verdurin gravatar image

updated 2014-06-27 15:53:44 -0500

rbowen gravatar image

I've been configuring Icehouse Keystone to use Apache/mod_wsgi, following the various guides that are around, including on the OpenStack wiki. That appears to be working, but I'm now seeing a weird MySQL error when I issue Keystone queries. It's a MySQL 1045 Access Denied message, but the odd thing is that the error is:

2014-06-27 18:26:16.930 8113 TRACE keystone.common.wsgi OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None

but the user configured in /etc/keystone/keystone.conf is 'keystone_admin' (as setup in the original RDO installation):

connection = mysql://keystone_admin:<password>@<IP address>/keystone

I've added a 'keystone' MySQL account with the same privileges and credentials as the 'keystone_admin' one and the error is still there.

edit retag flag offensive close merge delete

Comments

Edit the question and specify more clearly how you installed keystone so people can find the root cause. The problem seems to be simply the wrong mysql credentials.

smaffulli gravatar imagesmaffulli ( 2014-06-27 16:16:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-01 10:43:22 -0500

verdurin gravatar image

In the end this seemed to be caused by the need to create a separate keystone-paste.ini file, even though all those settings were inside keystone.conf. As I said earlier, the credentials were correct. The error message was rather misleading.

I do still have problems with Keystone, but I'll submit a different question for those.

edit flag offensive delete link more

Comments

What exactly needs to go into the keystone-paste.ini file?

n-paladi gravatar imagen-paladi ( 2014-07-31 15:22:13 -0500 )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-06-27 12:48:26 -0500

Seen: 371 times

Last updated: Jul 01 '14