Go to file
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
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 CephFS create and 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