Project

General

Profile

Actions

Enhancement #77913

open
DP NS

CephFS DR tools: signal failure to CLI when encountering error during execution

Enhancement #77913: CephFS DR tools: signal failure to CLI when encountering error during execution

Added by Dhairya Parmar 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Category:
Correctness/Safety
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
offline
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

This is coming after https://github.com/ceph/ceph/pull/68813 failed in teuthology which helped discover one important bit -- Most of the DR tools do not return an errno to CLI when encountering an error (say the journal pointer or journal header is missing). The tools usually exit with code zero. Efforts should be made to return correct status to CLI for better comprehensibility. @Venky Shankar suggests this change needs to be carried out with caution since this might lead to breaking of automation scripts.

VS Updated by Venky Shankar 5 months ago Actions #1

  • Tracker changed from Bug to Enhancement
  • Subject changed from tools/cephfs: return errnos where required to CephFS DR tools: signal failure to CLI when encountering error during execution
  • Target version set to v21.1.0
  • Regression deleted (No)
  • Severity deleted (3 - minor)

VS Updated by Venky Shankar 5 months ago Actions #2

  • Assignee set to Neeraj Pratap Singh
  • Target version changed from v21.1.0 to v22.0.0

Let's target this for Vampire.

Actions

Also available in: PDF Atom