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 type: OS::Nova::Server
52 flavor: {get_param: OvercloudCephStorageFlavor}
53 key_name: {get_param: KeyName}
56 user_data_format: SOFTWARE_CONFIG
57 user_data: {get_resource: NodeUserData}
58 name: {get_param: Hostname}
61 type: OS::TripleO::NodeUserData
64 type: OS::TripleO::CephStorage::Ports::StoragePort
66 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
69 type: OS::TripleO::CephStorage::Ports::StorageMgmtPort
71 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
74 type: OS::TripleO::CephStorage::Net::SoftwareConfig
76 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
77 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
80 type: OS::TripleO::SoftwareDeployment
82 config: {get_resource: NetworkConfig}
83 server: {get_resource: CephStorage}
85 CephStorageDeployment:
86 type: OS::Heat::StructuredDeployment
88 server: {get_resource: CephStorage}
89 config: {get_resource: CephStorageConfig}
90 signal_transport: NO_SIGNAL
92 type: OS::Heat::StructuredConfig
94 group: os-apply-config
97 fsid: {get_param: CephClusterFSID}
100 key: {get_param: CephAdminKey}
101 mon_nodes: {get_param: CephMonitors}
102 ControllerCephDeployment:
103 type: OS::Heat::StructuredDeployment
105 server: {get_resource: Controller}
106 config: {get_resource: ControllerCephConfig}
107 signal_transport: NO_SIGNAL
108 ControllerCephConfig:
109 type: OS::Heat::StructuredConfig
111 group: os-apply-config
114 include_ceph_backend: true
116 fsid: {get_param: CephClusterFSID}
119 key: {get_param: CephMonKey}
121 key: {get_param: CephAdminKey}
122 mon_nodes: {get_param: CephMonitors}
123 NovaComputeCephDeployment:
124 depends_on: [ControllerCephDeployment]
125 type: OS::Heat::StructuredDeployment
127 server: {get_resource: NovaCompute}
128 config: {get_resource: NovaComputeCephConfig}
129 signal_transport: NO_SIGNAL
130 NovaComputeCephConfig:
131 type: OS::Heat::StructuredConfig
133 group: os-apply-config
136 fsid: {get_param: CephClusterFSID}
139 key: {get_param: CephAdminKey}
140 mon_nodes: {get_param: CephMonitors}
147 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
148 HOST: {get_attr: [CephStorage, name]}
150 description: IP address of the server in the storage network
151 value: {get_attr: [StoragePort, ip_address]}
152 storage_mgmt_ip_address:
153 description: IP address of the server in the storage_mgmt network
154 value: {get_attr: [StorageMgmtPort, ip_address]}