pve-manager/PVE/API2
Aaron Lauterer 38fa08d074 api: osd: destroy: remove mclock max iops settings
Ceph does a quick benchmark when creating a new OSD and stores the
osd_mclock_max_capacity_iops_{ssd,hdd} settings in the config DB.

When destroying the OSD, Ceph does not automatically remove these
settings. Keeping them can be problematic if a new OSD with potentially
more performance is added and ends up getting the same OSD ID.

Therefore, we remove these settings ourselves when destroying an OSD.
Removing both variants, hdd and ssd should be fine, as the MON does not
complain if the setting does not exist.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2023-11-17 08:09:15 +01:00
..
Ceph api: osd: destroy: remove mclock max iops settings 2023-11-17 08:09:15 +01:00
Cluster api: notification: make the 'mail-to-root' target visible to any user 2023-08-16 11:11:24 +02:00
Hardware makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +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 acme: mark caaIdentities as an array 2023-11-13 15:15:22 +01:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm apt: use apt changelog for changelog fetching 2023-11-14 09:28:41 +01:00
Backup.pm api: backup: refactor backup permission check 2023-07-27 10:40:17 +02:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm ceph: api: use snake_case when setting options 2023-11-12 18:17:04 +01:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm api: prepare api handler module for notification config 2023-08-16 11:10:15 +02:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add resource map api endpoints for PCI and USB 2023-06-16 16:25:42 +02:00
Makefile makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
Network.pm api2: network: improve code readability 2023-06-07 17:04:29 +02:00
NodeConfig.pm api: fill in nodeconfig schema 2022-03-17 14:24:20 +01:00
Nodes.pm api: bulk suspension: log if VMs are skipped due to not running 2023-11-13 14:14:08 +01:00
Pool.pm api: pool update: rename 'transfer' parameter to 'allow-move' 2023-09-08 13:36:38 +02:00
Replication.pm api: replication: send notifications via new notification module 2023-08-16 11:10:14 +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: remove ceph APT auth if invalid 2023-10-25 18:45:48 +02:00
Tasks.pm fix #4521: api/tasks: replace upid as filename for task log downloads 2023-02-09 17:18:52 +01:00
VZDump.pm vzdump: send notifications via new notification module 2023-08-16 11:10:10 +02:00