installation openstack

asked 2013-03-05 15:53:56 -0600

hello ; i'm running Ubuntu 12.04 and I am getting following errors when I execute keystone-manage db_sync command... :/

i put this line in the "/etc/keystone/keystone.conf": connection = mysql://keystone:password@localhost/keystone and when i test this
* keystone-manage db_sync

This error appear:

File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ super(Connection, self).__init__(args, *kwargs2) sqlalchemy.exc.OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-06 13:08:24 -0600

thanks for your help!! :)))))

edit flag offensive delete link more
0

answered 2013-03-06 08:43:11 -0600

First execute the scripts below to grant privileges for keystone user:

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;

Next, you try to connect to mysql use account keystone. if okay, after that you can try again test command

keystone-manage db_sync

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-03-05 15:53:56 -0600

Seen: 26 times

Last updated: Mar 06 '13