pve-manager/PVE/API2
Thomas Lamprecht 7e1a9d25b6 ceph: add CephFS create and list API
Allow to create a new CephFS instance and allow to list them.

As deletion requires coordination between the active MDS and all
standby MDS next in line this needs a bit more work. One could mark
the MDS cluster down and stop the active, that should work but as
destroying is quite a sensible operation, in production not often
needed I deemed it better to document this only, and leaving API
endpoints for this to the future.

For index/list I slightly transform the result of an RADOS `fs ls`
monitor command, this would allow relative easy display of a CephFS
and it's backing metadata and data pools in a GUI.

While for now it's not enabled by default and marked as experimental,
this API is designed to host multiple CephFS instances - we may not
need this at all, but I did not want to limit us early. And anybody
liking to experiment can use it after the respective ceph.conf
settings.

When encountering errors try to rollback. As we verified at the
beginning that we did not reused pools, destroy the ones which we
created.

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 CephFS create and 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 CephFS create and 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