HTK: dont set keystone password on user creation
This PS updates the Keystone user job script to not set the user password upon potential creation, falling back to the set password command later in the script. This is both slighly cleaner, and avoids potential race conditions when running multiple keystone servers. Change-Id: Ibe775df23fe7b747aea5137ca85975e067b8cea3 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
9ff0a5afdf
commit
7f1d3be62e
@ -66,10 +66,9 @@ USER_ID=$(openstack user create --or-show --enable -f value -c id \
|
||||
--project-domain="${PROJECT_DOMAIN_ID}" \
|
||||
--project="${USER_PROJECT_ID}" \
|
||||
--description="${USER_DESC}" \
|
||||
--password="${SERVICE_OS_PASSWORD}" \
|
||||
"${SERVICE_OS_USERNAME}");
|
||||
|
||||
# Manage user password (we do this to ensure the password is updated if required)
|
||||
# Manage user password (we do this in a seperate step to ensure the password is updated if required)
|
||||
openstack user set --password="${SERVICE_OS_PASSWORD}" "${USER_ID}"
|
||||
|
||||
# Display user
|
||||
|
Loading…
Reference in New Issue
Block a user