1 heat_template_version: 2014-10-16
2 description: 'Common Swift Storage Configuration'
10 Additional configuration to inject into the cluster. The JSON should have
11 the following structure:
14 [{"section": "SECTIONNAME",
16 [{"option": "OPTIONNAME",
27 [{"section": "default",
29 [{"option": "force_config_drive",
37 "value": "nova.cells.rpc_driver.CellsRPCDriver"
47 description: Flavor for Swift storage nodes to request when deploying.
51 description: A random string to be used as a salt when hashing to determine mappings
56 default: overcloud-swift-storage
60 description: Name of an existing EC2 KeyPair to enable SSH access to the instances
64 description: Value of mount_check in Swift account/container/object -server.conf
66 NeutronEnableTunnelling:
74 description: Partition Power to use when building Swift rings
78 description: The password for the swift service account, used by the swift proxy
85 description: How many replicas to use in the swift rings.
86 SnmpdReadonlyUserName:
88 description: The user name for SNMPd with readonly rights running on all Overcloud nodes
90 SnmpdReadonlyUserPassword:
92 description: The user password for SNMPd with readonly rights running on all Overcloud nodes
98 type: OS::Heat::StructuredConfig
100 group: os-apply-config
103 export_MIB: UCD-SNMP-MIB
104 readonly_user_name: {get_input: snmpd_readonly_user_name}
105 readonly_user_password: {get_input: snmpd_readonly_user_password}
107 hash: { get_input: swift_hash_suffix }
108 part-power: { get_input: swift_part_power }
109 replicas: {get_input: swift_replicas }
110 service-password: { get_input: swift_password }
112 enable_tunnelling: {get_param: NeutronEnableTunnelling}
113 tenant_network_type: {get_param: NeutronNetworkType}
115 local_ip: { get_input: neutron_local_ip }
117 type: OS::Nova::Server
119 image: {get_param: Image}
120 flavor: {get_param: Flavor}
121 key_name: {get_param: KeyName}
122 user_data_format: SOFTWARE_CONFIG
126 type: OS::Heat::StructuredConfig
130 host: {get_input: keystone_host}
131 SwiftStorageKeystone:
132 type: OS::Heat::StructuredDeployment
134 server: {get_resource: SwiftStorage}
135 config: {get_resource: SwiftKeystoneConfig}
136 signal_transport: NO_SIGNAL
138 keystone_host: {get_param: ControllerIP}
140 type: OS::Heat::StructuredDeployment
142 server: {get_resource: SwiftStorage}
143 config: {get_resource: SwiftConfig}
144 signal_transport: NO_SIGNAL
146 neutron_local_ip: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
147 snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
148 snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
149 swift_hash_suffix: {get_param: HashSuffix}
150 swift_mount_check: {get_param: MountCheck}
151 swift_password: {get_param: Password}
152 swift_part_power: {get_param: PartPower}
153 swift_replicas: { get_param: Replicas}
159 template: "IP HOST HOST.novalocal"
161 IP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}
162 HOST: {get_attr: [SwiftStorage, name]}
163 nova_server_resource:
164 description: Heat resource handle for the swift storage server
166 {get_resource: SwiftStorage}
168 description: Swift device formatted for swift-ring-builder
171 template: 'r1z1-IP:%PORT%/d1'
173 IP: {get_attr: [SwiftStorage, networks, ctlplane, 0]}