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
33 type: OS::Nova::Server
37 flavor: {get_param: OvercloudCephStorageFlavor}
38 key_name: {get_param: KeyName}
41 user_data_format: SOFTWARE_CONFIG
42 user_data: {get_resource: NodeUserData}
45 type: OS::TripleO::NodeUserData
47 CephStorageDeployment:
48 type: OS::Heat::StructuredDeployment
50 server: {get_resource: CephStorage}
51 config: {get_resource: CephStorageConfig}
52 signal_transport: NO_SIGNAL
54 type: OS::Heat::StructuredConfig
56 group: os-apply-config
59 fsid: {get_param: CephClusterFSID}
62 key: {get_param: CephAdminKey}
63 mon_nodes: {get_param: CephMonitors}
64 ControllerCephDeployment:
65 type: OS::Heat::StructuredDeployment
67 server: {get_resource: Controller}
68 config: {get_resource: ControllerCephConfig}
69 signal_transport: NO_SIGNAL
71 type: OS::Heat::StructuredConfig
73 group: os-apply-config
76 include_ceph_backend: true
78 fsid: {get_param: CephClusterFSID}
81 key: {get_param: CephMonKey}
83 key: {get_param: CephAdminKey}
84 mon_nodes: {get_param: CephMonitors}
85 NovaComputeCephDeployment:
86 depends_on: [ControllerCephDeployment]
87 type: OS::Heat::StructuredDeployment
89 server: {get_resource: NovaCompute}
90 config: {get_resource: NovaComputeCephConfig}
91 signal_transport: NO_SIGNAL
92 NovaComputeCephConfig:
93 type: OS::Heat::StructuredConfig
95 group: os-apply-config
98 fsid: {get_param: CephClusterFSID}
101 key: {get_param: CephAdminKey}
102 mon_nodes: {get_param: CephMonitors}
107 template: "IP HOST HOST.novalocal"
109 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
110 HOST: {get_attr: [CephStorage, name]}