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
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::Ports::StoragePort
51 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
54 type: OS::TripleO::CephStorage::Ports::StorageMgmtPort
56 ControlPlaneIP: {get_attr: [CephStorage, networks, ctlplane, 0]}
59 type: OS::TripleO::CephStorage::Net::SoftwareConfig
61 StorageIpSubnet: {get_attr: [StoragePort, ip_subnet]}
62 StorageMgmtIpSubnet: {get_attr: [StorageMgmtPort, ip_subnet]}
65 type: OS::TripleO::SoftwareDeployment
67 config: {get_resource: NetworkConfig}
68 server: {get_resource: CephStorage}
70 CephStorageDeployment:
71 type: OS::Heat::StructuredDeployment
73 server: {get_resource: CephStorage}
74 config: {get_resource: CephStorageConfig}
75 signal_transport: NO_SIGNAL
77 type: OS::Heat::StructuredConfig
79 group: os-apply-config
82 fsid: {get_param: CephClusterFSID}
85 key: {get_param: CephAdminKey}
86 mon_nodes: {get_param: CephMonitors}
87 ControllerCephDeployment:
88 type: OS::Heat::StructuredDeployment
90 server: {get_resource: Controller}
91 config: {get_resource: ControllerCephConfig}
92 signal_transport: NO_SIGNAL
94 type: OS::Heat::StructuredConfig
96 group: os-apply-config
99 include_ceph_backend: true
101 fsid: {get_param: CephClusterFSID}
104 key: {get_param: CephMonKey}
106 key: {get_param: CephAdminKey}
107 mon_nodes: {get_param: CephMonitors}
108 NovaComputeCephDeployment:
109 depends_on: [ControllerCephDeployment]
110 type: OS::Heat::StructuredDeployment
112 server: {get_resource: NovaCompute}
113 config: {get_resource: NovaComputeCephConfig}
114 signal_transport: NO_SIGNAL
115 NovaComputeCephConfig:
116 type: OS::Heat::StructuredConfig
118 group: os-apply-config
121 fsid: {get_param: CephClusterFSID}
124 key: {get_param: CephAdminKey}
125 mon_nodes: {get_param: CephMonitors}
132 IP: {get_attr: [CephStorage, networks, ctlplane, 0]}
133 HOST: {get_attr: [CephStorage, name]}
135 description: IP address of the server in the storage network
136 value: {get_attr: [StoragePort, ip_address]}
137 storage_mgmt_ip_address:
138 description: IP address of the server in the storage_mgmt network
139 value: {get_attr: [StorageMgmtPort, ip_address]}