1 heat_template_version: 2015-04-30
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 description: Mapping of service_name -> network name. Typically set
34 via parameter_defaults in the resource registry.
40 Setting to a previously unused value during stack-update will trigger
41 package update on all nodes
44 default: '' # Defaults to Heat created hostname
48 Additional configuration to inject into the cluster. Note
49 that CephStorageExtraConfig takes precedence over ExtraConfig.
51 CephStorageExtraConfig:
54 Role specific additional configuration to inject into the cluster.
60 type: OS::Nova::Server
64 flavor: {get_param: OvercloudCephStorageFlavor}
65 key_name: {get_param: KeyName}
68 user_data_format: SOFTWARE_CONFIG
69 user_data: {get_resource: NodeUserData}
70 name: {get_param: Hostname}
73 type: OS::TripleO::NodeUserData
76 type: OS::TripleO::CephStorage::Ports::StoragePort
78 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
81 type: OS::TripleO::CephStorage::Ports::StorageMgmtPort
83 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
86 type: OS::TripleO::CephStorage::Net::SoftwareConfig
88 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
89 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
92 type: OS::TripleO::SoftwareDeployment
94 config: {get_resource: NetworkConfig}
95 server: {get_resource: CephStorage}
97 CephStorageDeployment:
98 type: OS::Heat::StructuredDeployment
100 server: {get_resource: CephStorage}
101 config: {get_resource: CephStorageConfig}
102 signal_transport: NO_SIGNAL
104 type: OS::Heat::StructuredConfig
106 group: os-apply-config
109 fsid: {get_param: CephClusterFSID}
112 key: {get_param: CephAdminKey}
113 mon_nodes: {get_param: CephMonitors}
114 ControllerCephDeployment:
115 type: OS::Heat::StructuredDeployment
117 server: {get_resource: Controller}
118 config: {get_resource: ControllerCephConfig}
119 signal_transport: NO_SIGNAL
120 ControllerCephConfig:
121 type: OS::Heat::StructuredConfig
123 group: os-apply-config
126 include_ceph_backend: true
128 fsid: {get_param: CephClusterFSID}
131 key: {get_param: CephMonKey}
133 key: {get_param: CephAdminKey}
134 mon_nodes: {get_param: CephMonitors}
135 NovaComputeCephDeployment:
136 depends_on: [ControllerCephDeployment]
137 type: OS::Heat::StructuredDeployment
139 server: {get_resource: NovaCompute}
140 config: {get_resource: NovaComputeCephConfig}
141 signal_transport: NO_SIGNAL
142 NovaComputeCephConfig:
143 type: OS::Heat::StructuredConfig
145 group: os-apply-config
148 fsid: {get_param: CephClusterFSID}
151 key: {get_param: CephAdminKey}
152 mon_nodes: {get_param: CephMonitors}
159 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
160 HOST: {get_attr: [CephStorage, name]}
162 description: IP address of the server in the storage network
163 value: {get_attr: [StoragePort, ip_address]}
164 storage_mgmt_ip_address:
165 description: IP address of the server in the storage_mgmt network
166 value: {get_attr: [StorageMgmtPort, ip_address]}
168 description: identifier which changes if the node configuration may need re-applying
169 value: "None - NO_SIGNAL"