.Disabling image features is no longer incorrectly allowed on non-primary images
With RADOS Block Device (RBD) mirroring enabled, non-primary images are expected to be read-only. Previously, an attempt to disable image features on non-primary images could cause an indefinite wait. This operation is now properly disallowed on non-primary images. As a result, an attempt to disable image features on such images fails with an appropriate error message.
Description of problem:
While trying to disable an image feature from Slave Node, its taking forever to complete ( It should Fail, but its getting executed indefinitely )
Version-Release number of selected component (if applicable):
ceph version 10.2.2-15.el7cp
Steps to Reproduce:
1. Try to disable an Image Feature from the Slave Node.
rbd feature disable new/gerrard9 deep-flatten --cluster slave
Its not Failing.
It should fail, as we don't support Write permission on Slave Node
I know this is a known issue, but it needs to be fixed in future releases.
For now it would be good to exit or break, rather than waiting indefinitely.
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.