Go to file
Thomas Lamprecht b82649cc52 ceph: add MDS create/delete/list API
Allow to create, list and destroy and Ceph Metadata Server (MDS) over
the API and the CLI `pveceph` tool.

Besides setting up the local systemd service template and the MDS
data directory we also add a reference to the MDS in the ceph.conf
We note the backing host (node) from the respective MDS and set up a
'mds standby for name' = 'pve' so that the PVE created ones are a
single group. If we decide to add integration for rank/path specific
MDS (possible useful for CephFS with quite a bit of load) then this
may help as a starting point.

On create, check early if a reference already exists in ceph.conf and
abort in that case. If we only see existing data directories later
on we abort but do not remove them, they could well be from an older
manual create - where it's possible dangerous to just remove it. Let
the user handle it themself in that case.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Co-authored-by: Alwin Antreich <a.antreich@proxmox.com>
2018-11-23 13:33:12 +01:00
aplinfo update included aplinfo.dat 2018-05-11 09:16:28 +02:00
bin build: use pve-doc-generator to verify API 2018-10-18 14:17:08 +02:00
configs build: cleanup file generation 2018-10-18 14:15:41 +02:00
debian bump version to 5.2-13 2018-11-22 15:01:31 +01:00
network-hooks cleanup: add network-hooks directory and move respective files 2018-06-20 13:04:51 +02:00
PVE ceph: add MDS create/delete/list API 2018-11-23 13:33:12 +01:00
services cleanup: rename bin/init.d to services 2018-06-20 13:04:51 +02:00
test cleanup: move bin/test to toplevel 2018-06-20 13:04:51 +02:00
www gui: add ceph monitor restart button 2018-11-23 12:23:42 +01:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk bump version to 5.2-13 2018-11-22 15:01:31 +01:00
Makefile fixup: Makefile: s/tests/test/ 2018-10-23 12:49:10 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl vzdump: hook script example: s/openvz/lxc/ 2018-11-05 10:33:34 +01:00