Debian Codegraph @

releasenotes/notes/add-swift-storage_policy-attribute-322fbb5716c5bb10.yaml

raw
1 ---
2 features:
3 - |
4 The ``storage_policy`` resource metadata attribute has been added to the
5 ``swift.containers.objects`` and ``swift.containers.objects.size`` meters,
6 populated from already performed Swift account ``GET`` requests.
7 This functionality requires using a new version of Swift that adds the
8 ``storage_policy`` attribute when listing containers in an account.
9 Ceilometer is backwards compatible with Swift versions that do not
10 provide this functionality, but ``storage_policy`` will be set to
11 ``None`` in samples and Gnocchi resources.
12 - |
13 An optional ``storage_policy`` attribute has been added to the
14 ``swift_account`` Gnocchi resource type, to store the storage policy for
15 Swift containers in Gnocchi. For Swift accounts, ``storage_policy`` will
16 be set to ``None``.
17 upgrade:
18 - |
19 To publish the ``storage_policy`` attribute for Swift containers,
20 ``gnocchi_resources.yaml`` will need to be updated to the latest version.
21 Swift in the target OpenStack cloud will also need upgrading to add
22 support for providing the storage policy when listing containers.