The authorization of swif client fails when karbor is installed using devstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Karbor |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The authorization of swif client fails when karbor is installed using devstack.
The reason is that the password in the local.conf of devstack is 'password'. But the swift_key value of swift client in
openstack-
2016-10-20 15:24:55.088 DEBUG keystoneclient.
2016-10-20 15:24:55.089 ERROR swiftclient [-] Unauthorized. Check username, password and tenant name/id.
2016-10-20 15:24:55.089 TRACE swiftclient Traceback (most recent call last):
2016-10-20 15:24:55.089 TRACE swiftclient File "/usr/local/
2016-10-20 15:24:55.089 TRACE swiftclient self.url, self.token = self.get_auth()
2016-10-20 15:24:55.089 TRACE swiftclient File "/usr/local/
2016-10-20 15:24:55.089 TRACE swiftclient timeout=
2016-10-20 15:24:55.089 TRACE swiftclient File "/usr/local/
2016-10-20 15:24:55.089 TRACE swiftclient auth_version=
2016-10-20 15:24:55.089 TRACE swiftclient File "/usr/local/
2016-10-20 15:24:55.089 TRACE swiftclient raise ClientException
2016-10-20 15:24:55.089 TRACE swiftclient ClientException: Unauthorized. Check username, password and tenant name/id.
2016-10-20 15:24:55.089 TRACE swiftclient
2016-10-20 15:24:55.092 ERROR karbor.
2016-10-20 15:24:55.092 ERROR karbor.
2016-10-20 15:24:55.093 ERROR karbor.
2016-10-20 15:24:55.308 INFO root [-] Generating grammar tables from /usr/lib/
2016-10-20 15:24:55.336 INFO root [-] Generating grammar tables from /usr/lib/
Reviewed: https:/ /review. openstack. org/391811 /git.openstack. org/cgit/ openstack/ karbor/ commit/ ?id=56e611c9578 dca815f76617c68 ffba63773ed350
Committed: https:/
Submitter: Jenkins
Branch: master
commit 56e611c9578dca8 15f76617c68ffba 63773ed350
Author: chenying <email address hidden>
Date: Mon Oct 31 20:24:51 2016 +0800
Fix the authorization of swift when karbor is installed using devstack
The service's default password in local devstack and gate devstack
should be same.
Change-Id: If9b5c24a91d33e 489c02177ea60f5 adbb2321320
Closes-Bug: #1635140