From 5be09854a06c258308e1edccdf3e390e892ed988 Mon Sep 17 00:00:00 2001 From: Sushil Kumar Date: Fri, 18 Oct 2013 15:06:04 +0000 Subject: [PATCH] Fix service_type in instance creation using heat services parameters supplied to heat template should use service_type instead of hard-coded mysql Fixes: Bug 1241655 Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1869c --- trove/taskmanager/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/taskmanager/models.py b/trove/taskmanager/models.py index 2a34443523..0ce951bac7 100644 --- a/trove/taskmanager/models.py +++ b/trove/taskmanager/models.py @@ -309,7 +309,7 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin): parameters = {"KeyName": "heatkey", "Flavor": flavor["name"], "VolumeSize": volume_size, - "ServiceType": "mysql", + "ServiceType": service_type, "InstanceId": self.id, "AvailabilityZone": availability_zone} stack_name = 'trove-%s' % self.id