Go to file
Aaron Lauterer 76ed490012 fix #5010: ceph: pool set only changed properties
By only setting properties that have changed, we can avoid potential
errors in the task.

For example, if one configures the "nosizechange" property on a pool,
to prevent accidental size changes, the task will now only error if
the user is actually trying to change the size.

Prior to this patch, we would always try to set all parameters, even if
they were the same value. In the above example, this would result in the
task ending in error state, as we are not allowed to change the size.

To disable size changing you can run the following command:
 ceph osd pool set {pool} nosizechange 1

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Tested-by: Christoph Heiss <c.heiss@proxmox.com>
2024-07-22 18:58:31 +02:00
aplinfo update shipped appliance info index 2024-05-07 11:55:24 +02:00
bin makefile: fix waring typo 2024-07-22 18:28:18 +02:00
configs vzdump config: add fleecing property string 2024-06-12 12:50:47 +02:00
debian changelog: fix typos 2024-07-17 18:02:59 +02:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE fix #5010: ceph: pool set only changed properties 2024-07-22 18:58:31 +02:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
templates notifications: use named templates instead of in-code templates 2024-06-03 14:16:35 +02:00
test tests: remove vzdump_notification test 2024-06-03 14:16:35 +02:00
www ui: cephfs: disallow blank field for now required MDS ID 2024-07-22 18:54:21 +02:00
.gitignore gitignore: ignore any test artifacts 2024-06-03 14:16:35 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile notifications: use named templates instead of in-code templates 2024-06-03 14:16:35 +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 close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00