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. Must be a UUID.
21 description: The Ceph monitors key. Can be created with ceph-authtool --gen-print-key.
25 description: The Ceph admin client key. Can be created with ceph-authtool --gen-print-key.
29 description: The list of ip/names to use as Ceph monitors
34 type: OS::Nova::Server
38 flavor: {get_param: OvercloudCephStorageFlavor}
39 key_name: {get_param: KeyName}
42 user_data_format: SOFTWARE_CONFIG
43 user_data: {get_resource: NodeUserData}
46 type: OS::TripleO::NodeUserData
49 type: OS::TripleO::CephStorage::Net::SoftwareConfig
52 type: OS::TripleO::SoftwareDeployment
54 config: {get_attr: [NetworkConfig, config_id]}
55 server: {get_resource: CephStorage}
57 CephStorageDeployment:
58 type: OS::Heat::StructuredDeployment
60 server: {get_resource: CephStorage}
61 config: {get_resource: CephStorageConfig}
62 signal_transport: NO_SIGNAL
64 type: OS::Heat::StructuredConfig
66 group: os-apply-config
69 fsid: {get_param: CephClusterFSID}
72 key: {get_param: CephAdminKey}
73 mon_nodes: {get_param: CephMonitors}
74 ControllerCephDeployment:
75 type: OS::Heat::StructuredDeployment
77 server: {get_resource: Controller}
78 config: {get_resource: ControllerCephConfig}
79 signal_transport: NO_SIGNAL
81 type: OS::Heat::StructuredConfig
83 group: os-apply-config
86 include_ceph_backend: true
88 fsid: {get_param: CephClusterFSID}
91 key: {get_param: CephMonKey}
93 key: {get_param: CephAdminKey}
94 mon_nodes: {get_param: CephMonitors}
95 NovaComputeCephDeployment:
96 depends_on: [ControllerCephDeployment]
97 type: OS::Heat::StructuredDeployment
99 server: {get_resource: NovaCompute}
100 config: {get_resource: NovaComputeCephConfig}
101 signal_transport: NO_SIGNAL
102 NovaComputeCephConfig:
103 type: OS::Heat::StructuredConfig
105 group: os-apply-config
108 fsid: {get_param: CephClusterFSID}
111 key: {get_param: CephAdminKey}
112 mon_nodes: {get_param: CephMonitors}
117 template: "IP HOST HOST.novalocal"
119 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
120 HOST: {get_attr: [CephStorage, name]}