resource_def:
type: OS::TripleO::ObjectStorage
properties:
- ControllerIP: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}
KeyName: {get_param: KeyName}
- NeutronEnableTunnelling: {get_param: NeutronEnableTunnelling}
- NeutronNetworkType: {get_param: NeutronNetworkType}
Flavor: {get_param: OvercloudSwiftStorageFlavor}
HashSuffix: {get_param: SwiftHashSuffix}
MountCheck: {get_param: SwiftMountCheck}
MinPartHours: {get_param: SwiftMinPartHours}
PartPower: {get_param: SwiftPartPower}
- Password: {get_param: SwiftPassword}
Image: {get_param: SwiftStorageImage}
Replicas: { get_param: SwiftReplicas}
heat_template_version: 2014-10-16
description: 'Common Swift Storage Configuration'
parameters:
- #FIXME: this should not be required.
- ControllerIP:
- default: ''
- type: string
Flavor:
description: Flavor for Swift storage nodes to request when deploying.
type: string
default: 'false'
description: Value of mount_check in Swift account/container/object -server.conf
type: boolean
- #FIXME: this is is not required. Leaving here for compatability with the overcloud template.
- NeutronEnableTunnelling:
- default: "True"
- type: string
- #FIXME: this is is not required. Leaving here for compatability with the overcloud template.
- NeutronNetworkType:
- default: gre
- type: string
MinPartHours:
type: number
default: 1
default: 10
description: Partition Power to use when building Swift rings
type: number
- #FIXME: this is is not required. Leaving here for compatability with the overcloud template.
- Password:
- default: unset
- description: The password for the swift service account, used by the swift proxy
- services.
- hidden: true
- type: string
Replicas:
type: number
default: 1
heat_template_version: 2014-10-16
description: 'Common Swift Storage Configuration'
parameters:
- ControllerIP:
- default: ''
- type: string
ExtraConfig:
default: {}
description: |
default: 'false'
description: Value of mount_check in Swift account/container/object -server.conf
type: boolean
- NeutronEnableTunnelling:
- default: "True"
- type: string
- NeutronNetworkType:
- default: gre
- type: string
MinPartHours:
type: number
default: 1
default: 10
description: Partition Power to use when building Swift rings
type: number
- Password:
- default: unset
- description: The password for the swift service account, used by the swift proxy
- services.
- hidden: true
- type: string
Replicas:
type: number
default: 1
min-part-hours: { get_input: swift_min_part_hours }
mount-check: { get_input: swift_mount_check }
replicas: {get_input: swift_replicas }
- service-password: { get_input: swift_password }
neutron:
- enable_tunnelling: {get_param: NeutronEnableTunnelling}
- tenant_network_type: {get_param: NeutronNetworkType}
ovs:
local_ip: { get_input: neutron_local_ip }
SwiftStorage:
user_data_format: SOFTWARE_CONFIG
networks:
- network: ctlplane
- SwiftKeystoneConfig:
- type: OS::Heat::StructuredConfig
- properties:
- config:
- keystone:
- host: {get_input: keystone_host}
- SwiftStorageKeystone:
- type: OS::Heat::StructuredDeployment
- properties:
- server: {get_resource: SwiftStorage}
- config: {get_resource: SwiftKeystoneConfig}
- signal_transport: NO_SIGNAL
- input_values:
- keystone_host: {get_param: ControllerIP}
SwiftStorageDeploy:
type: OS::Heat::StructuredDeployment
properties:
snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
swift_hash_suffix: {get_param: HashSuffix}
swift_mount_check: {get_param: MountCheck}
- swift_password: {get_param: Password}
swift_min_part_hours: {get_param: MinPartHours}
swift_part_power: {get_param: PartPower}
swift_replicas: { get_param: Replicas}