Description of problem: Object Map is showing invalid, after disabling the object map feature Version-Release number of selected component (if applicable): ceph version 10.2.1-6.el7cp How reproducible: Always Steps to Reproduce: 1 rbd create cephfs_data/img6 --size 100G 2 rbd info cephfs_data/img6 rbd image 'img6': size 102400 MB in 25600 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.125345238e1f29 format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten flags: 3 rbd feature disable cephfs_data/img6 exclusive-lock, object-map, fast-diff 4 rbd info cephfs_data/img6 rbd image 'img6': size 102400 MB in 25600 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.125345238e1f29 format: 2 features: layering, deep-flatten flags: 5 rbd feature enable cephfs_data/img6 exclusive-lock, object-map, fast-diff 6 rbd info cephfs_data/img6 rbd image 'img6': size 102400 MB in 25600 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.125345238e1f29 format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten flags: object map invalid, fast diff invalid 7 rbd feature disable cephfs_data/img6 exclusive-lock, object-map, fast-diff 8 rbd info cephfs_data/img6 rbd image 'img6': size 102400 MB in 25600 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.125345238e1f29 format: 2 features: layering, deep-flatten flags: object map invalid Actual results: Object Map is showing as Invalid, although object map is not enabled. Expected results: Object Map should not show as invalid. Additional info:
Upstream PR: https://github.com/ceph/ceph/pull/9441
Merged upstream Jewel PR: https://github.com/ceph/ceph/pull/9555
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, 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://rhn.redhat.com/errata/RHBA-2016-1755.html