]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: ignore -EOPNOTSUPP errors when retrieving image group membership
authorJason Dillaman <dillaman@redhat.com>
Wed, 20 Mar 2019 18:40:50 +0000 (14:40 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 30 Mar 2020 15:20:21 +0000 (11:20 -0400)
commitab720d4c0026d596dcea8782fbdd1640c93ec384
tree0d05d3f84fe3a924f757bac87e5104ea4f4b5233
parent804dc5d06434f910776ff71d6d2cb9b0a093a6be
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>
(cherry picked from commit 6f29dc69a0db3b6d982c95ab9d3b9b00a7029e37)
src/librbd/image/RefreshRequest.cc
src/test/librbd/image/test_mock_RefreshRequest.cc