Fix some warnings from keystone-manage doctor

This commit fixes some warnings shown by `keystone-manage doctor`
command that are present in Keystone installed with default chart
configuration. In particular:

* Set max_toke_size=32 as this is correct value for uuid token provider.
* Enable caching using memcache by setting [cache] memcache_servers
  option correctly in configmap-etc.yaml

Change-Id: I38cc7be577e0a7cd9be715e633f3637baafcc21b
Closes-Bug: 1693806
This commit is contained in:
Michał Dulko
2017-05-26 15:42:05 +02:00
parent 59cb374ad3
commit 807ec54afd
2 changed files with 9 additions and 1 deletions

View File

@@ -22,7 +22,7 @@
{{- tuple "oslo_messaging" "internal" "user" "amqp" . | include "helm-toolkit.endpoints.authenticated_endpoint_uri_lookup" | set .Values.conf.keystone.default.oslo.messaging "transport_url" | quote | trunc 0 -}}
{{- end -}}
{{- if empty .Values.conf.keystone.cache.oslo.cache -}}
{{- if empty .Values.conf.keystone.cache.oslo.cache.memcache_servers -}}
{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.endpoints.hostname_endpoint_uri_lookup" | set .Values.conf.keystone.cache.oslo.cache "memcache_servers" | quote | trunc 0 -}}
{{- end -}}

View File

@@ -128,6 +128,9 @@ conf:
keystone:
override:
append:
default:
keystone:
max_token_size: 32
token:
keystone:
provider: uuid
@@ -135,6 +138,11 @@ conf:
oslo:
db:
max_retries: -1
cache:
oslo:
cache:
enabled: true
backend: dogpile.cache.memcached
# typically overriden by environmental
# values, but should include all endpoints