[ceph] Add ability to spawn osds with additional volumes
Related-Prod: PRODX-19091
Change-Id: I1a53a35906f0596be3d186182aca5f9301f88df8
diff --git a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
index 227f299..e5b4d9a 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
@@ -111,6 +111,9 @@
cinder_lvm_loop_device_size:
type: number
default: 0
+ num_volumes:
+ type: number
+ default: 0
resources:
@@ -194,6 +197,15 @@
user_data: { get_resource: install_config_agent}
metadata: { get_param: metadata }
+ extra_volumes:
+ type: OS::Heat::ResourceGroup
+ properties:
+ count: { get_param: num_volumes }
+ resource_def:
+ type: ./CinderVolumeVM.yaml
+ properties:
+ instance_id: { get_resource: server }
+
accessible_server_port:
type: OS::Neutron::Port
properties: