In order to make the access to Smaug by APIs pass througth the
authentication of keystonemiddleware, I add a function named
"create_smaug_accounts" in the plugin.sh, which will create an
account in Keystone.
There are 4 steps in "create_smaug_accounts":
1. create a user "smaug".
2. bind the user with the project "service" and grant the role
"service" to the user.
3. create a service "smaug".
4. create an endpoint of service.
Reviewed: https:/ /review. openstack. org/258768 /git.openstack. org/cgit/ openstack/ smaug/commit/ ?id=cc5931e7e4f 1095bf431178b19 5d949c04a2da43
Committed: https:/
Submitter: Jenkins
Branch: master
commit cc5931e7e4f1095 bf431178b195d94 9c04a2da43
Author: zengchen <email address hidden>
Date: Thu Dec 17 10:47:54 2015 +0800
Authentication fails by keystonemiddleware
In order to make the access to Smaug by APIs pass througth the smaug_accounts" in the plugin.sh, which will create an
authentication of keystonemiddleware, I add a function named
"create_
account in Keystone.
There are 4 steps in "create_ smaug_accounts" :
1. create a user "smaug".
2. bind the user with the project "service" and grant the role
"service" to the user.
3. create a service "smaug".
4. create an endpoint of service.
Closes-Bug: #1526638 48e54b15cf897af e67a81c2e4a
Change-Id: I7644e568a8912f