pve-manager/PVE/API2
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
..
Ceph ceph: add MDS create/delete/list API 2018-11-23 13:33:12 +01:00
Hardware api: move PCI from Scan to Hardware path 2018-11-22 14:20:09 +01:00
ACME.pm ACMEv2 order "ready" status update 2018-06-25 10:42:17 +02:00
ACMEAccount.pm pvenode: use print_api_result to print acme account information 2018-07-26 13:09:08 +02:00
APT.pm add pve-edk2-firmware to pveversion package list 2018-10-23 13:34:26 +02:00
Backup.pm restrict vzdump cron options 2016-10-17 10:36:06 +02:00
Ceph.pm ceph: add MDS create/delete/list API 2018-11-23 13:33:12 +01:00
Certificates.pm add certificates API endpoints 2018-05-02 11:34:52 +02:00
Cluster.pm fixe return values in /cluster/resources 2018-08-20 11:31:53 +02:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api/hardware: fixup: add missing file 2018-11-22 15:05:52 +01:00
Makefile ceph: add MDS create/delete/list API 2018-11-23 13:33:12 +01:00
Network.pm use 'die' instead of 'raise_param_exc' 2018-10-08 13:32:03 +02:00
NodeConfig.pm add node configuration file and API 2018-05-02 11:34:52 +02:00
Nodes.pm api: move PCI from Scan to Hardware path 2018-11-22 14:20:09 +01:00
Pool.pm lxc added to read_pool 2015-07-22 13:30:23 +02:00
Replication.pm cleanup 2017-12-14 09:07:00 +01:00
ReplicationConfig.pm Fix create replication job 2017-06-28 14:20:09 +02:00
Scan.pm api: move PCI from Scan to Hardware path 2018-11-22 14:20:09 +01:00
Services.pm Fix #1386: track postfix daemon status via postfix@- 2017-05-29 14:52:24 +02:00
Subscription.pm fix wrong permissions for subscription info 2018-10-30 11:37:00 +01:00
Tasks.pm whitespace fix 2018-06-29 10:31:23 +02:00
VZDump.pm use new PVE::Storage::check_volume_access() 2017-01-18 17:30:40 +01:00