Ask Your Question

10485 WARNING keystone.assignment.core [-] Deprecated:

asked 2017-02-09 14:05:07 -0500

stackattack gravatar image

updated 2017-02-10 10:40:13 -0500

rbowen gravatar image

I'm receiving this error when trying to bootstrap keystone. Any ideas? Noet: I removed the full URL's in order to post this. Thank you! I'm following this doc page:

root@control1:~# keystone-manage bootstrap --bootstrap-password P@$$w0rd --bootstrap-admin-url control1:35357/v3/ --bootstrap-internal-url http://control1:35357/v3/ --bootstrap-public-url control1:5000/v3/ --bootstrap-region-id RegionOne

2017-02-09 11:25:17.704 10485 WARNING keystone.assignment.core [-] Deprecated: Use of the identity driver config to automatically configure the same assignment driver has been deprecated, in the "O" release, the ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-09 17:12:45 -0500

It's not an error, it's a warning about a deprecated feature that will be removed soon. I think it means you have to configure separate identity and assignment drivers in keystone.conf.

edit flag offensive delete link more


Apologies, it actually ends with a keystone error: 2017-02-10 09:07:12.572 27107 ERROR keystone DBNonExistentTable: (sqlite3.OperationalError) no such table: project [SQL: u'INSERT INTO project (id, name, domain_id, description, enabled, extra, parent_id, is_domain) continued...

stackattack gravatar imagestackattack ( 2017-02-10 11:28:55 -0500 )edit

...VALUES (?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: ('default', 'Default', '<<keystone.domain.root>>', 'The default domain', 1, '{}', None, 1)] 2017-02-10 09:07:12.572 27107 ERROR keystone

stackattack gravatar imagestackattack ( 2017-02-10 11:29:32 -0500 )edit

The keystone database is missing a table. It looks like the previous step keystone-manage db_sync was not successful. A quick database check:

$ mysql keystone
> show tables;

Which tables have been generated?

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-10 17:14:02 -0500 )edit

Empty set (0.00 sec). I see it now. Sync produces: oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left

stackattack gravatar imagestackattack ( 2017-02-13 11:32:34 -0500 )edit

Incorrect DB connection settings in keystone.conf, perhaps?

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-13 16:16:21 -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


Asked: 2017-02-09 14:05:07 -0500

Seen: 622 times

Last updated: Feb 10 '17