]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ignore -EOPNOTSUPP errors when retrieving image group membership 27080/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 20 Mar 2019 18:40:50 +0000 (14:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 20 Mar 2019 18:40:50 +0000 (14:40 -0400)
commit6f29dc69a0db3b6d982c95ab9d3b9b00a7029e37
tree7733b123c90787e2be90e392edaa32b89dec7322
parent3a54b2b6d167d4a2a19e003a705696d4fe619afc
librbd: ignore -EOPNOTSUPP errors when retrieving image group membership

The Luminous release did not support adding images to a group (it only
included the bare-minimum support for creating groups). Commit f76df32666b
incorrectly dropped support for ignoring this possible failure. This
prevents Nautilus-release clients from opening images contained within
a Luminous-release cluster.

Fixes: http://tracker.ceph.com/issues/38834
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/image/RefreshRequest.cc
src/test/librbd/image/test_mock_RefreshRequest.cc