Wrong keystone_authtoken middleware configuration for devstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glare |
Fix Released
|
Medium
|
Mike Fedosin |
Bug Description
Devstack recommends to use special function "configure_
Glare doesn't use it and it causes a misconfiguration of the middleware:
[keystone_
identity_uri = http://
auth_uri = http://
admin_password = secretservice
admin_user = glare
admin_tenant_name = service
auth_protocol = http
auth_port = 35357
auth_host = 104.130.222.62
For instance, a configuration of a glance server:
[keystone_
memcached_servers = 104.130.
signing_dir = /var/cache/
cafile = /opt/stack/
project_domain_name = Default
project_name = service
user_domain_name = Default
password = secretservice
username = glance
auth_url = http://
auth_type = password
This leads to the fact that Glare does not work with some keystone configurations and returns 503 errors from authtoken middleware.
Changed in glare: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
importance: | Undecided → Medium |
Changed in glare: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/473631 /git.openstack. org/cgit/ openstack/ glare/commit/ ?id=5aba8880d1f c4554ae0d9d0c5c d273dfbc43582f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5aba8880d1fc455 4ae0d9d0c5cd273 dfbc43582f
Author: Mike Fedosin <email address hidden>
Date: Tue Jun 13 03:48:59 2017 +0300
Fix devstack deployment
This patch adds two improvements in devstack shell script:
1. Now we use uncommented yaml file for default policies.
2. configure_ auth_token_ middleware function is used to setup authtoken middleware instead of custom implementation.
keystone_
Closes-bug: #1697686
Change-Id: I5448486019c9ed 20a4eb656d48985 b5d4958848b