Disable swift on undercloud by default

This changes to disable swift by default on the undercloud.
Adds a new environment if there is a requirement to enable
it.

Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/772827/
Change-Id: I860e99af585aff6d1f5490930c364f091df81e56
This commit is contained in:
ramishra 2021-01-29 08:27:38 +05:30
parent c35df2f7c3
commit b3f4111c9e
2 changed files with 15 additions and 6 deletions

View File

@ -0,0 +1,12 @@
parameter_defaults:
SwiftCorsAllowedOrigin: '*'
SwiftReplicas: 1
SwiftWorkers: 2
SwiftAccountWorkers: 2
SwiftContainerWorkers: 2
SwiftObjectWorkers: 2
resource_registry:
OS::TripleO::Services::SwiftProxy: ../deployment/swift/swift-proxy-container-puppet.yaml
OS::TripleO::Services::SwiftStorage: ../deployment/swift/swift-storage-container-puppet.yaml
OS::TripleO::Services::SwiftRingBuilder: ../deployment/swift/swift-ringbuilder-container-puppet.yaml

View File

@ -48,6 +48,9 @@ resource_registry:
OS::TripleO::Services::Logging::PlacementApi: OS::Heat::None
OS::TripleO::Services::GlanceApi: OS::Heat::None
OS::TripleO::Services::NeutronMetadataAgent: OS::Heat::None
OS::TripleO::Services::SwiftProxy: OS::Heat::None
OS::TripleO::Services::SwiftStorage: OS::Heat::None
OS::TripleO::Services::SwiftRingBuilder: OS::Heat::None
# Services we don't ever want configured. See LP#1824030
OS::TripleO::Services::Pacemaker: OS::Heat::None
@ -149,12 +152,6 @@ parameter_defaults:
# This allows MTU > 1500 for the overcloud if local_mtu is set to 1500
# See LP#1826729
TenantNetPhysnetMtu: 0
SwiftCorsAllowedOrigin: '*'
SwiftReplicas: 1
SwiftWorkers: 2
SwiftAccountWorkers: 2
SwiftContainerWorkers: 2
SwiftObjectWorkers: 2
# A list of static routes for the control plane network. Ensure traffic to
# nodes on remote control plane networks use the correct network path.
# Example: