As of the Luminous release, Ceph requires ceph-mgr daemons be run
to have a fully functional cluster. [0]
[0] http://docs.ceph.com/docs/master/mgr/administrator/
Change-Id: I31197dcd3ad05c0db3811096c6d88308e7c10658
Ceph Luminos removes the automatic call to ceph-create-keys on
ceph-mon startup; deployment tools are required to call this
after the monitors have been started to create the admin keyring
across the cluster.
ceph-create-keys still blocks until the cluster is in quorum, at
which points keys are created and written out to the normal location
in /etc/ceph.
Change-Id: Ifc9b8aaf3dbce71cb62567ba03455d2196eaf29f
Check if the charm is installed inside a container and do not install
NTP if that is the case.
Change-Id: I9a9a50e724e24aa0d5b04d544a82b2d8202cd181
Partial-Bug: #169051
The is_osd_disk code assumes that the first partition
is the osd journal. That might not always be the case.
This patch makes that function more general by searching
all partitions on a disk.
Change-Id: I4239ae498b9b6d2d97551d61d1a4f2981f72b88a
check_output needs to be decoded in py3 environments; provide
a helper wrapper function todo this + update unit tests to deal
with this slightly different approach to UTF-8 decoding.
Change-Id: I95c4fce0d5cc997ba19f22b611cf99fbd5b17dd1
If the returned cephx key from ceph contains [caps] the
parse_key function returns the wrong output.
Partial-Bug: 1665149
Change-Id: Icca4c174fa15b9637732a919ab5149f34260ae0f
this change allows the get_named_key to check if
a key with the given name already exists (with any
permissions) and returns the named key if so.
Otherwise, it returns a new key created with the
requested name and permissions
Closes-Bug: 1664546
Change-Id: Ifd1ff35e5e55e2f4d480609643174d3bf4afd0c0
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
resolve_ceph_version will map the provided source configuration
option to an associated UCA/OpenStack release, and the version
of Ceph that the UCA shipped with.
This will be used for generalization of upgrade workflows for all
ceph charms.
Change-Id: I3981347f3e4a0bd1b763d3da0afb65d1b7084a05
Partial-Bug: 1611082
Prior to the introduction of the ceph broker for managing pools,
consuming charms would create their own pools, requiring rw
permissions for on mons.
Drop the 'w' capability as all charms now use the broker for
creation of pools
Change-Id: Iefffe047214555a15c4201fca605f07ac39c8f5c
Partial-Bug: 1424771
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.