1 heat_template_version: pike
4 OpenStack Swift Storage service configured with Puppet
9 description: Dictionary packing service data
13 description: Mapping of service_name -> network name. Typically set
14 via parameter_defaults in the resource registry. This
15 mapping overrides those in ServiceNetMapDefaults.
22 description: Role name on which the service is applied
26 description: Parameters specific to the role
30 description: Mapping of service endpoint -> protocol. Typically set
31 via parameter_defaults in the resource registry.
35 description: Set to True to enable debugging on all services.
39 description: Value of mount_check in Swift account/container/object -server.conf
43 description: 'A hash of additional raw devices to use as Swift backend (eg. {sdb: {}})'
45 MonitoringSubscriptionSwiftStorage:
46 default: 'overcloud-swift-storage'
49 # DEPRECATED options for compatibility with overcloud.yaml
50 # This should be removed and manipulation of the ControllerServices list
51 # used instead, but we need client support for that first
52 ControllerEnableSwiftStorage:
54 description: Whether to enable Swift Storage on the Controller
59 description: Do not use deprecated params, they will be removed.
61 - ControllerEnableSwiftStorage
65 type: ./swift-base.yaml
67 ServiceData: {get_param: ServiceData}
68 ServiceNetMap: {get_param: ServiceNetMap}
69 DefaultPasswords: {get_param: DefaultPasswords}
70 EndpointMap: {get_param: EndpointMap}
71 RoleName: {get_param: RoleName}
72 RoleParameters: {get_param: RoleParameters}
78 - get_param: SwiftMountCheck
82 - get_param: SwiftRawDisks
87 description: Role data for the Swift Proxy role.
89 service_name: swift_storage
90 monitoring_subscription: {get_param: MonitoringSubscriptionSwiftStorage}
93 - get_attr: [SwiftBase, role_data, config_settings]
94 - swift::storage::all::mount_check: {if: [swift_mount_check, true, false]}
95 tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
96 tripleo.swift_storage.firewall_rules:
103 swift::storage::all::incoming_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
104 swift::storage::all::outgoing_chmod: 'Du=rwx,g=rx,o=rx,Fu=rw,g=r,o=r'
105 swift::storage::all::object_pipeline:
109 swift::storage::all::container_pipeline:
112 swift::storage::all::account_pipeline:
115 swift::storage::disks::args: {get_param: SwiftRawDisks}
116 swift::storage::all::storage_local_net_ip: {get_param: [ServiceNetMap, SwiftStorageNetwork]}
118 include ::tripleo::profile::base::swift::storage
120 - name: Stop swift storage services
122 service: name={{ item }} state=stopped
124 - openstack-swift-account-auditor
125 - openstack-swift-account-reaper
126 - openstack-swift-account-replicator
127 - openstack-swift-account
128 - openstack-swift-container-auditor
129 - openstack-swift-container-replicator
130 - openstack-swift-container-updater
131 - openstack-swift-container
132 - openstack-swift-object-auditor
133 - openstack-swift-object-expirer
134 - openstack-swift-object-replicator
135 - openstack-swift-object-updater
136 - openstack-swift-object