pve-manager/PVE/API2
Aaron Lauterer ccb281a7ae api: ceph: add cmd-safety endpoint
Ceph provides us with several safety checks to verify that an action is
safe to perform. This endpoint provides means to acces them.
The actual mon commands are not exposed directly. Instead the two
actions "stop" and "destroy" are offered.

In case it is not okay to perform an action, Ceph provides a status
message explaining why. This message is part of the returned values.

For now there are the following checks for these services:

MON:
  - ok-to-stop
  - ok-to-rm
OSD:
  - ok-to-stop
  - safe-to-destroy
MDS:
  - ok-to-stop

Even though OSDs have a check if it is okay to destroy them, it is for
now not really usable in our workflow because it needs the OSD to be up
and running to return useful information. Our workflow in the GUI
currently is that the OSD needs to be stopped in order to destroy it.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-11-17 18:27:48 +01:00
..
Ceph api: ceph: add applications of each pool to the lspools endpoint 2022-11-16 20:24:12 +01:00
Cluster api: backup info: make "name" property truly optional in response struct 2022-11-15 14:07:39 +01:00
Hardware fix #3490: show more pci devices by default 2021-07-07 18:37:07 +02:00
ACME.pm api: ACME revoke: do not abort if CA is just expired 2020-08-19 18:52:48 +02:00
ACMEAccount.pm api: acme: fix API index entry for challenge-schema 2021-05-05 15:52:49 +02:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm apt: add proxmox-offline-mirror-helper package 2022-09-15 09:07:11 +02:00
Backup.pm api: backup: auto-inject job id where expected by the API 2022-11-15 13:29:34 +01:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm api: ceph: add cmd-safety endpoint 2022-11-17 18:27:48 +01:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm api: open up /cluster/options call over injecting info into /version 2022-11-17 18:16:43 +01:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add usb list in hardware endpoint 2020-12-02 11:27:02 +01:00
Makefile move BackupInfo module into Cluster 2021-07-02 12:50:49 +02:00
Network.pm api2: network: anybridge: re-add regular bridges 2022-04-27 13:55:57 +02:00
NodeConfig.pm api: fill in nodeconfig schema 2022-03-17 14:24:20 +01:00
Nodes.pm api: nodes: code/style rework start/stop list generation 2022-09-07 09:47:48 +02:00
Pool.pm api: add 'type' parameter to pool GET endpoint 2022-01-31 13:30:50 +01:00
Replication.pm fix #4111: replication: don't send mail when fail count is zero 2022-06-17 17:20:06 +02:00
ReplicationConfig.pm fix iteration over hash without keys 2020-11-20 15:34:27 +01:00
Services.pm api/services: add pvescheduler to the service list 2021-11-12 16:17:36 +01:00
Subscription.pm subscription: handle missing subscription info 2022-09-07 14:50:32 +02:00
Tasks.pm Add/fix option descriptions in pvenode api docs 2021-08-31 17:02:29 +02:00
VZDump.pm api vzdump: split/sort module usage 2022-11-15 14:07:39 +01:00