From d9fc4c6f40d00232a4d61a1b594723376d210f78 Mon Sep 17 00:00:00 2001
From: Paul Bourke <paul.bourke@oracle.com>
Date: Thu, 28 Apr 2016 14:43:42 +0100
Subject: [PATCH] Update murano service name

In Mitaka, the service name must have a dash rather than underscore when using
the sql catalog driver in Keystone[0] (the default).

This works for upgrade also, though further improvements could be written to
remove the old endpoint from Keystone, and automatically chose a dash or
underscore based on driver type used.

[0] http://docs.openstack.org/releasenotes/murano/mitaka.html#upgrade-notes

Change-Id: I15a03370afdad6529eec51a206b6134bf80b283d
Closes-Bug: 1576152
---
 ansible/roles/murano/tasks/register.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/murano/tasks/register.yml b/ansible/roles/murano/tasks/register.yml
index d03e41f327..308afc5b09 100644
--- a/ansible/roles/murano/tasks/register.yml
+++ b/ansible/roles/murano/tasks/register.yml
@@ -3,7 +3,7 @@
   command: docker exec -t kolla_toolbox /usr/bin/ansible localhost
     -m kolla_keystone_service
     -a "service_name=murano
-        service_type=application_catalog
+        service_type=application-catalog
         description='Openstack Application Catalogue'
         endpoint_region={{ openstack_region_name }}
         url='{{ item.url }}'
-- 
GitLab