yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48175
[Bug 1553216] Re: keystone-manage bootstrap does not work for non-SQL identity drivers
Reviewed: https://review.openstack.org/293488
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=4df45708a9f26107713dbc651caad64d0211fe2d
Submitter: Jenkins
Branch: master
commit 4df45708a9f26107713dbc651caad64d0211fe2d
Author: Kristi Nikolla <knikolla@xxxxxx>
Date: Wed Mar 16 11:07:18 2016 -0400
Check for already present user without inserting in Bootstrap
keystone-manage bootstrap check for already present info in the DB
by trying an insert and catching a Conflict exception.
This will not work with databases where inserting an user is not
possible. Changed the code to try a get first, and insert when
the user is not found.
Change-Id: If15c284aae5d10c594688c588dde9b21675ff487
Closes-Bug: 1553216
** Changed in: keystone
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1553216
Title:
keystone-manage bootstrap does not work for non-SQL identity drivers
Status in OpenStack Identity (keystone):
Fix Released
Bug description:
keystone-manage bootstrap attempts to create the specified user and
then handles a Conflict error as notice that the user already exists.
This works for the default SQL identity driver, but does not work for
drivers that do not support creating users. In order to work for all
drivers, which is necessary to support role assignment bootstrapping
whenever the driver configuration is changed, it should attempt to GET
the user or otherwise check in a way that will work for drivers that
do not support user creation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1553216/+subscriptions
References