From 93df1da8ddd7ff3cb7d7c2468045b5b67a853fc8 Mon Sep 17 00:00:00 2001 From: Mauricio Lima Date: Fri, 4 Mar 2016 11:12:27 -0500 Subject: [PATCH] Fix Keystone v3 for Manila TrivialFix Change-Id: I05bc0c95533372af11575f345e64d6f57ef9c157 --- ansible/roles/manila/tasks/register.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/roles/manila/tasks/register.yml b/ansible/roles/manila/tasks/register.yml index e3fe7e2f69..64f42d4fff 100644 --- a/ansible/roles/manila/tasks/register.yml +++ b/ansible/roles/manila/tasks/register.yml @@ -2,8 +2,8 @@ - name: Creating the Manila service and endpoint command: docker exec -t kolla_toolbox /usr/bin/ansible localhost -m kolla_keystone_service - -a "service_name=manila - service_type=share + -a "service_name={{ item.service_name }} + service_type={{ item.service_type }} description='Openstack Shared Filesystems' endpoint_region={{ openstack_region_name }} url='{{ item.url }}' @@ -18,12 +18,12 @@ delay: 5 run_once: True with_items: - - {'interface': 'admin', 'url': '{{ mistral_admin_endpoint }}'} - - {'interface': 'internal', 'url': '{{ mistral_internal_endpoint }}'} - - {'interface': 'public', 'url': '{{ mistral_public_endpoint }}'} - - {'interface': 'admin', 'url': '{{ mistral_v2_admin_endpoint }}'} - - {'interface': 'internal', 'url': '{{ mistral_v2_internal_endpoint }}'} - - {'interface': 'public', 'url': '{{ mistral_v2_public_endpoint }}'} + - {'interface': 'admin', 'url': '{{ manila_admin_endpoint }}', 'service_name': 'manila', 'service_type': 'share'} + - {'interface': 'internal', 'url': '{{ manila_internal_endpoint }}', 'service_name': 'manila', 'service_type': 'share'} + - {'interface': 'public', 'url': '{{ manila_public_endpoint }}', 'service_name': 'manila', 'service_type': 'share'} + - {'interface': 'admin', 'url': '{{ manila_admin_endpoint }}', 'service_name': 'manilav2', 'service_type': 'sharev2'} + - {'interface': 'internal', 'url': '{{ manila_internal_endpoint }}', 'service_name': 'manilav2', 'service_type': 'sharev2'} + - {'interface': 'public', 'url': '{{ manila_public_endpoint }}', 'service_name': 'manilav2', 'service_type': 'sharev2'} - name: Creating the Manila project, user and role command: docker exec -t kolla_toolbox /usr/bin/ansible localhost