Project

General

Profile

Bug #16962

rbd-mirror: snap protect of non-layered image results in split-brain

Added by Jason Dillaman 11 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
Start date:
08/08/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

Attempting to protect a snapshot against an image that doesn't support layering results in an error:

2016-08-05 08:02:00.903776 7fb903fff700 -1 librbd::SnapshotProtectRequest: image must support layering
2016-08-05 08:02:00.903786 7fb903fff700 -1 librbd::SnapshotProtectRequest: encountered error: (38) Function not implemented

Upon replay of the associated journal event, rbd-mirror will fail:

2016-08-08 09:47:38.629513 7f3c09ffb700 -1 rbd::mirror::ImageReplayer: 0x7f3c70004490 [8/adefb803-d248-4fb8-af94-0f58aaf14e24] handle_process_entry_safe: failed to commit journal event: (38d
2016-08-08 09:47:38.629520 7f3c09ffb700 -1 rbd::mirror::ImageReplayer: 0x7f3c70004490 [8/adefb803-d248-4fb8-af94-0f58aaf14e24] handle_replay_complete: replay encountered an error: (38) Funcd

Related issues

Copied to rbd - Backport #17845: jewel: rbd-mirror: snap protect of non-layered image results in split-brain Resolved

History

#1 Updated by Jason Dillaman 11 months ago

  • Priority changed from Normal to Low

#2 Updated by Mykola Golub 8 months ago

  • Status changed from New to In Progress
  • Assignee set to Mykola Golub
  • Needs Doc set to No

#3 Updated by Mykola Golub 8 months ago

  • Status changed from In Progress to Need Review

#4 Updated by Jason Dillaman 8 months ago

  • Status changed from Need Review to Pending Backport

#5 Updated by Loic Dachary 8 months ago

  • Copied to Backport #17845: jewel: rbd-mirror: snap protect of non-layered image results in split-brain added

#6 Updated by Jason Dillaman 6 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF