Bug 1353877

Summary: Try to Disable image feature from Slave Node is resulting in indefinite wait
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Tanay Ganguly <tganguly>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Parikshith <pbyregow>
Severity: medium Docs Contact: Bara Ancincova <bancinco>
Priority: low    
Version: 2.0CC: ceph-eng-bugs, flucifre, hnallurv, jdillama, jdurgin, kurs
Target Milestone: rc   
Target Release: 3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-12.1.2-1.el7cp Ubuntu: ceph_12.1.2-2redhat1xenial Doc Type: Bug Fix
Doc Text:
.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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:31:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1322504, 1383917, 1412948, 1494421    

Description Tanay Ganguly 2016-07-08 09:48:32 UTC
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

How reproducible:
Always

Steps to Reproduce:
1. Try to disable an Image Feature from the Slave Node.
rbd feature disable new/gerrard9 deep-flatten --cluster slave


Actual results:
Its not Failing.

Expected results:
It should fail, as we don't support Write permission on Slave Node

Additional info:

Note: 
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.

Comment 7 Jason Dillaman 2016-11-02 19:08:43 UTC
@Bara: lgtm

Comment 14 errata-xmlrpc 2017-12-05 23:31:14 UTC
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://access.redhat.com/errata/RHBA-2017:3387