Project

General

Profile

Actions

Bug #16962

closed

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

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

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
% Done:

0%

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

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 1 (0 open1 closed)

Copied to rbd - Backport #17845: jewel: rbd-mirror: snap protect of non-layered image results in split-brainResolvedLoïc DacharyActions
Actions #1

Updated by Jason Dillaman over 7 years ago

  • Priority changed from Normal to Low
Actions #2

Updated by Mykola Golub over 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Mykola Golub
Actions #3

Updated by Mykola Golub over 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Jason Dillaman over 7 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Loïc Dachary over 7 years ago

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

Updated by Jason Dillaman over 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF