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
This commit is contained in:
Sushil Kumar
2013-10-18 15:06:04 +00:00
parent 45e6d0f3da
commit 5be09854a0

View File

@@ -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