Hi, any help will be highly appreciated. I am following http://docs.openstack.org/trunk/openstack-compute/install/apt/content/install-keystone.html.
mysql> select User,Host from mysql.user; +------------------+-------------------+ | User | Host | +------------------+-------------------+ | keystone | % | | root | 127.0.0.1 | | root | ::1 | | | localhost | | debian-sys-maint | localhost | | keystone | localhost | | root | localhost | | | ubu-a.arindam.com | | root | ubu-a.arindam.com | +------------------+-------------------+ 9 rows in set (0.00 sec) root@ubu-a:~# cat /etc/keystone/keystone.conf | grep connection # The SQLAlchemy connection string used to connect to the database connection = mysql://keystone:keystone@192.168.122.10/keystone root@ubu-a:~# cat /etc/mysql/my.cnf | grep 0.0.0.0 bind-address = 0.0.0.0 I am getting this error: root@ubu-a:~# keystone-manage db_sync Traceback (most recent call last): File "/usr/bin/keystone-manage", line 28, in <module> cli.main(argv=sys.argv, config_files=config_files) File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 164, in main return run(cmd, (args[:1] + args[2:])) File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 147, in run return CMDS[cmd](argv=args).run() File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 35, in run return self.main() File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 56, in main driver.db_sync() File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/sql.py", line 136, in db_sync migration.db_sync() File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration.py", line 49, in db_sync current_version = db_version() File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration.py", line 63, in db_version return db_version_control(0) File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration.py", line 68, in db_version_control versioning_api.version_control(CONF.sql.connection, repo_path, version) File "<string>", line 2, in version_control File "/usr/lib/python2.7/dist-packages/migrate/versioning/util/__init__.py", line 159, in with_engine return f(*a, **kw) File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 250, in version_control ControlledSchema.create(engine, repository, version) File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 139, in create table = cls._create_table_version(engine, repository, version) File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 180, in _create_table_version if not table.exists(): File "/usr/lib/python2.7/dist-packages/sqlalchemy/schema.py", line 579, in exists self.name, schema=self.schema) File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2424, in run_callable conn = self.contextual_connect() File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2490, in contextual_connect self.pool.connect(), File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 224, in connect return _ConnectionFairy(self).checkout() File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 387, in __init__ rec = self._connection_record = pool._do_get() File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 741, in _do_get con = self._create_connection() File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 188, in _create_connection return _ConnectionRecord(self) File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 270, in __init__ self.connection = self.__connect() File "/usr/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 330, in __connect connection = self.__pool._creator() File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 80, in connect return dialect.connect(*cargs, **cparams) File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 281, in connect return self.dbapi.connect(*cargs, **cparams) File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) 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'@'ubu-a.arindam.com' (using password: YES)") None None
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp