puppet-swift/releasenotes/notes/swift-storage-policies-5d20b2623ca87f84.yaml
Adam Vinsh 63688a14e5 Add support for swift storage policies
This change implements storage policies as defined by swift:
http://docs.openstack.org/developer/swift/overview_policies.html

There are two primary areas of change in this review
- Add storage policy support to the ringbuilder and ring devices, along with
  associated spec tests.
- Adding storage policy support and enforcing rules in swift.conf using the
  swift_storage_policy type and provider. Also: updated spec tests and an
  update to swift acceptance test to use storage policies to configure an
  additional 3 replica based ring.

See release notes and the README update for more details/instructions.

Change-Id: I2b8db751790704df3f1027a14f61e231591537f3
2016-11-22 16:17:52 +00:00

37 lines
1.7 KiB
YAML

---
prelude: >
Add support for swift storage policies.
This change adds storage policy support to the
swift ringbuilder class as well as ring_object_device.
This change also adds a new custom type/provider
called swift_storage_policy that is used to create
and enforce rules for storage policies in swift.conf
features:
- Add support for swift storage policies.
This change adds storage policy support to the
swift ringbuilder class as well as ring_object_device.
The swift ringbuilder provider was modified to accept
ring_object_device with a name that starts with an
integer followed by colon. For example, a ring_object_device
without a storage policy would be named 127.0.0.1:6000/4
A ring_object_device that should be included in
storage-policy:1 would be 1:127.0.0.1:6000/4.
Spec tests were split up and updated to test the
changes to ring_object_device as well.
- This change also adds a new custom type/provider
called swift_storage_policy that is used to create
and enforce rules for storage policies in swift.conf
This provider enforces rules established by the swift
project for storage_policies. This provider uses the
puppet inifile provider to control storage policy
entries in swift.conf. This provider implements a way
to remove/purge a storage policy including it's section
header from swift.conf.
- An upcoming change will enable the use of erasure code
through swift storage policies.
upgrade:
- No action is required by existing users of this
module. To begin using storage policies follow the
example upgrade procedure in the README under the
swift storage policy section.