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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user