Fix keystone initial auth mechanism

A recent change in keystone [1] has deprecated the token auth
mechanism that we used. We reintroduce it temporarily while a more
permanant solution is worked on.

[1] 5286b4a297

Change-Id: I4d585733a9abd201c1b0680e6196dd2a36db3c7e
Closes-Bug: #1545292
This commit is contained in:
SamYaple 2016-02-13 16:46:58 +00:00 committed by Steven Dake
parent 03568ce863
commit 8ef7434770

View File

@ -61,6 +61,11 @@ RUN ln -s keystone-source/* keystone \
{% endif %}
# NOTE(SamYaple): This is to reintroduce a deprecated option as a quick-fix
# until the correct new procedure is implemented.
# TODO(SamYaple): Replace this with `keystone-manage bootstrap`
RUN sed -i 's|token_auth json_body|token_auth admin_token_auth json_body|g' /etc/keystone/keystone-paste.ini
RUN chown -R keystone: /var/www/cgi-bin/keystone \
&& chmod 755 /var/www/cgi-bin/keystone/*