diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2015-12-14 15:10:44 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2015-12-15 23:20:53 +0800 |
| commit | b766695f18d5f235f1a2f0db88a41dce9db674d1 (patch) | |
| tree | 9a810751a791d155a60db7f7e2137fcee00b3ac5 /docker/keystone | |
| parent | 7f22109d06aaa6e0d6105c6416eeff1f0ae38362 (diff) | |
| download | kolla-b766695f18d5f235f1a2f0db88a41dce9db674d1.tar.gz kolla-b766695f18d5f235f1a2f0db88a41dce9db674d1.zip | |
Move the admin account creation to register.yml
Create the admin project, user, role and keystone service info by
using ansible task rather than shell script
Closes-Bug: #1526251
Change-Id: Ieee215b9de1618b3d31f3d1a766a9d0ebafdee4d
Diffstat (limited to 'docker/keystone')
| -rw-r--r-- | docker/keystone/extend_start.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/docker/keystone/extend_start.sh b/docker/keystone/extend_start.sh index c7c8ad83d..c13ebfa0b 100644 --- a/docker/keystone/extend_start.sh +++ b/docker/keystone/extend_start.sh @@ -17,20 +17,6 @@ fi # of the KOLLA_BOOTSTRAP variable being set, including empty. if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then sudo -H -u keystone keystone-manage db_sync - # Start the api to set initial endpoint and users with the admin_token - $CMD - sleep 5 - - openstack service create --name keystone --description "OpenStack Identity" identity - openstack endpoint create --region "${REGION_NAME}" \ - --publicurl "${PUBLIC_URL}" \ - --internalurl "${INTERNAL_URL}" \ - --adminurl "${ADMIN_URL}" \ - identity - openstack project create --description "Admin Project" admin - openstack user create --password "${KEYSTONE_ADMIN_PASSWORD}" admin - openstack role create admin - openstack role add --project admin --user admin admin exit 0 fi |
