Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

octopus: librbd: fix client backwards compatibility issues #34323

Merged
merged 2 commits into from
Apr 1, 2020

Conversation

dillaman
Copy link

Jason Dillaman added 2 commits March 31, 2020 11:22
The Luminous release did not support adding images to a group (it only
included the bare-minimum support for creating groups). Commit f76df32
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 6f29dc6)
(cherry picked from commit ab720d4)
We want to support N - 3 client backward compatibility (special case
to support Jewel since it was a LTS release). The "get_snapshot_timestamp"
cls method does not exist in Jewel clusters so librbd should fallback
to excluding the op if it fails.

Note that this N - 3 also needs to apply for downstream releases as well,
which implies we still need Jewel for the time being.

Fixes: http://tracker.ceph.com/issues/39450
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c644121)

Conflicts:
	src/test/librbd/image/test_mock_RefreshRequest.cc: tweaked to support pool configs
(cherry picked from commit d1a67c3)
@yuriw
Copy link
Contributor

yuriw commented Mar 31, 2020

@yuriw yuriw merged commit f8d5631 into ceph:octopus Apr 1, 2020
@dillaman dillaman deleted the wip-44861-octopus branch April 1, 2020 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants