1 heat_template_version: 2014-10-16
2 description: 'Common Ceph Storage Configuration'
6 default: overcloud-ceph-storage
9 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
13 description: Flavor for block storage nodes to request when deploying.
18 description: The Ceph cluster FSID.
21 description: The Ceph monitors key.
25 description: The Ceph admin client key.
29 description: The list of ip/names to use as Ceph monitors
33 type: OS::Nova::Server
37 flavor: {get_param: OvercloudCephStorageFlavor}
38 key_name: {get_param: KeyName}
39 user_data_format: SOFTWARE_CONFIG
42 CephStorageDeployment:
43 type: OS::Heat::StructuredDeployment
45 server: {get_resource: CephStorage}
46 config: {get_resource: CephStorageConfig}
47 signal_transport: NO_SIGNAL
49 type: OS::Heat::StructuredConfig
51 group: os-apply-config
54 fsid: {get_param: CephClusterFSID}
57 key: {get_param: CephAdminKey}
58 mon_nodes: {get_param: CephMonitors}
59 ControllerCephDeployment:
60 type: OS::Heat::StructuredDeployment
62 server: {get_resource: Controller}
63 config: {get_resource: ControllerCephConfig}
64 signal_transport: NO_SIGNAL
66 type: OS::Heat::StructuredConfig
68 group: os-apply-config
71 include_ceph_backend: true
73 fsid: {get_param: CephClusterFSID}
76 key: {get_param: CephMonKey}
78 key: {get_param: CephAdminKey}
79 mon_nodes: {get_param: CephMonitors}
80 NovaComputeCephDeployment:
81 depends_on: [ControllerCephDeployment]
82 type: OS::Heat::StructuredDeployment
84 server: {get_resource: NovaCompute}
85 config: {get_resource: NovaComputeCephConfig}
86 signal_transport: NO_SIGNAL
87 NovaComputeCephConfig:
88 type: OS::Heat::StructuredConfig
90 group: os-apply-config
93 fsid: {get_param: CephClusterFSID}
96 key: {get_param: CephAdminKey}
97 mon_nodes: {get_param: CephMonitors}
102 template: "IP HOST HOST.novalocal"
104 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
105 HOST: {get_attr: [CephStorage, name]}