From 6373b5178f39370613007fcfc39bcf0aba9262eb Mon Sep 17 00:00:00 2001 From: Sergey Reshetnyak Date: Wed, 4 Mar 2015 17:47:52 +0300 Subject: [PATCH] Replacing data_processing with data-processing Using data_processing when setting keystone static catalog causes Sahara not to find the endpoint afterwards since keystone translates data_processing to data-processing Change-Id: I959c1bc76eebc4ddb787f872ce7319bd6ba83be8 Closes-bug: #1356053 --- heat/engine/clients/os/sahara.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heat/engine/clients/os/sahara.py b/heat/engine/clients/os/sahara.py index 1db4d9340d..5c3688ccca 100644 --- a/heat/engine/clients/os/sahara.py +++ b/heat/engine/clients/os/sahara.py @@ -36,10 +36,10 @@ class SaharaClientPlugin(client_plugin.ClientPlugin): def _create(self): con = self.context endpoint_type = self._get_client_option('sahara', 'endpoint_type') - endpoint = self.url_for(service_type='data_processing', + endpoint = self.url_for(service_type='data-processing', endpoint_type=endpoint_type) args = { - 'service_type': 'data_processing', + 'service_type': 'data-processing', 'input_auth_token': self.auth_token, 'auth_url': con.auth_url, 'project_name': con.tenant,