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.
39 type: OS::Nova::Server
43 flavor: {get_param: OvercloudCephStorageFlavor}
44 key_name: {get_param: KeyName}
47 user_data_format: SOFTWARE_CONFIG
48 user_data: {get_resource: NodeUserData}
51 type: OS::TripleO::NodeUserData
54 type: OS::TripleO::CephStorage::Ports::StoragePort
56 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
59 type: OS::TripleO::CephStorage::Ports::StorageMgmtPort
61 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
64 type: OS::TripleO::CephStorage::Net::SoftwareConfig
66 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
67 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
70 type: OS::TripleO::SoftwareDeployment
72 config: {get_resource: NetworkConfig}
73 server: {get_resource: CephStorage}
75 CephStorageDeployment:
76 type: OS::Heat::StructuredDeployment
78 server: {get_resource: CephStorage}
79 config: {get_resource: CephStorageConfig}
80 signal_transport: NO_SIGNAL
82 type: OS::Heat::StructuredConfig
84 group: os-apply-config
87 fsid: {get_param: CephClusterFSID}
90 key: {get_param: CephAdminKey}
91 mon_nodes: {get_param: CephMonitors}
92 ControllerCephDeployment:
93 type: OS::Heat::StructuredDeployment
95 server: {get_resource: Controller}
96 config: {get_resource: ControllerCephConfig}
97 signal_transport: NO_SIGNAL
99 type: OS::Heat::StructuredConfig
101 group: os-apply-config
104 include_ceph_backend: true
106 fsid: {get_param: CephClusterFSID}
109 key: {get_param: CephMonKey}
111 key: {get_param: CephAdminKey}
112 mon_nodes: {get_param: CephMonitors}
113 NovaComputeCephDeployment:
114 depends_on: [ControllerCephDeployment]
115 type: OS::Heat::StructuredDeployment
117 server: {get_resource: NovaCompute}
118 config: {get_resource: NovaComputeCephConfig}
119 signal_transport: NO_SIGNAL
120 NovaComputeCephConfig:
121 type: OS::Heat::StructuredConfig
123 group: os-apply-config
126 fsid: {get_param: CephClusterFSID}
129 key: {get_param: CephAdminKey}
130 mon_nodes: {get_param: CephMonitors}
137 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
138 HOST: {get_attr: [CephStorage, name]}
140 description: IP address of the server in the storage network
141 value: {get_attr: [StoragePort, ip_address]}
142 storage_mgmt_ip_address:
143 description: IP address of the server in the storage_mgmt network
144 value: {get_attr: [StorageMgmtPort, ip_address]}