Description of problem: layering and deep-flatten features are immutable (cannot be enabled after creating the image) # rbd feature enable MCzUHjMhPw_tier_1_rbd_mirror_pool/OLjakajjEA_tier_1_rbd_mirror_image layering rbd: failed to update image features: 2023-02-02T17:13:35.254+0000 7fcf0f1fca00 -1 librbd::Operations: cannot update immutable features (22) Invalid argument # rbd feature enable MCzUHjMhPw_tier_1_rbd_mirror_pool/OLjakajjEA_tier_1_rbd_mirror_image deep-flatten rbd: failed to update image features: (22) Invalid argument 2023-02-02T17:14:49.922+0000 7fa1afc2ba00 -1 librbd::Operations: cannot update immutable features Dashboard not only allows to click on these checkboxes but returns green (success) notification when users click on edit RBD Version-Release number of selected component (if applicable): 6.0 latest How reproducible: Always Steps to Reproduce: 1. Create an rbd image without layering, deepflatten feature 2. edit rbd image on dashboard 3. select layering and deep-flatted and click on edit rbd Actual results: Dashboard not only allows to click on these checkboxes but returns green (success) notification when users click on edit RBD Expected results: Either disable checkboxes for them to edit or return error message as in CLI Additional info:
Missed the 6.1 z1 window. Retargeted to 6.1 z2.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7780