This parameter adds the facility for an operator to set the length
of time in hours that a partition in a swift ring can be altered
following a rebalance of that ring. The default value is set to one.
The corresponding element change is here:
Ie6438386a54794e1ae2f31ad925db01c2c10ed6d
Change-Id: Icc5e431a7e2884b3ca3a255b6fd901619bc98460
type: number
default: 1
description: How many replicas to use in the swift rings.
type: number
default: 1
description: How many replicas to use in the swift rings.
+ SwiftMinPartHours:
+ type: number
+ default: 1
+ description: The minimum time (in hours) before a partition in a ring can be moved following a rebalance.
resources:
controller0Swift:
type: OS::Heat::StructuredDeployment
resources:
controller0Swift:
type: OS::Heat::StructuredDeployment
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
+ swift_min_part_hours: { get_param: SwiftMinPartHours}
part-power: 10
proxy-memcache: { get_input: swift_proxy_memcache }
replicas: {get_input: swift_replicas }
part-power: 10
proxy-memcache: { get_input: swift_proxy_memcache }
replicas: {get_input: swift_replicas }
+ min-part-hours: {get_input: swift_min_part_hours }
service-password: { get_input: swift_password }
service-password: { get_input: swift_password }
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
- - {get_attr: [controller0, networks, ctlplane, 0]}
- ':11211'
swift_replicas: { get_param: SwiftReplicas}
+ swift_min_part_hours: { get_param: SwiftMinPartHours}