Project

General

Profile

Actions

Bug #47437

open

[rbd-mirror] backwards compatibility issue in "mirror_image_status_set" cls method

Added by Jason Dillaman over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

An Octopus rbd-mirror client connecting to a Nautilus Ceph cluster will experience the following error:

failed to update mirror image statuses: (22) Invalid argument
Actions #1

Updated by Jason Dillaman over 3 years ago

If MirrorStatusUpdater receives an -EINVAL error when sending status to the remote cluster, it implies that the remote cluster is pre-Octopus and cannot accept status from remote peers. We can either disable any future attempts to update the remote status or hide the error message. Since the OSDs will log the error, the first option might be the cleanest. Post upgrade of the remote cluster, the rbd-mirror daemons would just need to be restarted to start sending remote status updates again.

Actions

Also available in: Atom PDF