osd permissions need to be provided per pool, comma delimited.
Update to ensure that correct syntax is used when applying
permissions to keys.
Change-Id: I0aa9b0c79c0ff8ca9f61f7bf138c42c510fe3318
In order to apply osd pool permissions correctly, the 'groups'
dict of a service_group object must be fully populated with
information for all required permissions.
Refactor code a little to ensure that 'groups' is built
consistently across the codebase, and that keys can have
access to multiple pool types.
Change-Id: I4aeb3a66cb74fe0ab233c7624d863119f7f450c0
Closes-Bug: 1664543
If a pool is already in the pools list for a group, don't
add it again, avoiding duplicate pool entries on keys with
permissions to access the group.
Change-Id: I8c882a33ae118cbd9d575a1da398b9184b711df3
Partial-Bug: 1424771
Additionally, a charm can request that a pool be added
to a group when creating a pool
Change-Id: Ide11d74f1472fcddcabf9475b935bd57dba88ce7
Partial-Bug: 1424771
This allows a remote charm, ideally an OSD unit,
to request that the monitor move a disk to a given
bucket in the Crushmap
Change-Id: I77d8159d588f3b31d6eb1c25cd5ca16e53c6f01d
Added a helper function to test if ceph fs new has already
been called. If it has been than the ceph_broker will
skip calling it again.
Change-Id: Ib39542a55db5f03f08af72054c14bd6abb3d6a2a
This patch adds a list of pool support into the
get_named_key
function to allow callers to specify the pools the cephx key
should have access to. This patch also adds in tox testing.