Fix authentication issue with openstacksdk
Due to a bug in openstacksdk [0], rename the 'token' attribute used for the auth of the openstack client to 'auth_token'. 'token' was incorrectly set to None by openstacksdk, 'auth_token' is the same as 'token' but is not impacted by the bug. [0] https://bugs.launchpad.net/openstacksdk/+bug/2046645 Closes-Bug: #2046711 Change-Id: I9dab5aeb19cf4dc44ff7ee20decf20023b20888b
This commit is contained in:
parent
c71969ade6
commit
92d72f1220
@ -43,7 +43,7 @@ def get_sdk_connection(request):
|
|||||||
auth=dict(
|
auth=dict(
|
||||||
project_id=request.user.project_id,
|
project_id=request.user.project_id,
|
||||||
project_domain_id=request.user.domain_id,
|
project_domain_id=request.user.domain_id,
|
||||||
token=request.user.token.unscoped_token,
|
auth_token=request.user.token.unscoped_token,
|
||||||
auth_url=request.user.endpoint),
|
auth_url=request.user.endpoint),
|
||||||
app_name='octavia-dashboard',
|
app_name='octavia-dashboard',
|
||||||
app_version=octavia_dashboard.__version__)
|
app_version=octavia_dashboard.__version__)
|
||||||
|
5
releasenotes/notes/fix-auth-issue-5226777261765699.yaml
Normal file
5
releasenotes/notes/fix-auth-issue-5226777261765699.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed an authentication issue with the OpenStack services. The dashboard
|
||||||
|
could not get the list of load balancers.
|
Loading…
Reference in New Issue
Block a user