Project

General

Profile

Actions

Bug #83429

open
AJ AJ

mgr/cephadm: mon error code handling for ok-to-upgrade

Bug #83429: mgr/cephadm: mon error code handling for ok-to-upgrade

Added by Ashwin Joshi 11 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Mon returns the following error codes to cephadm:
Bad version string - EINVAL
Bucket type not usable - EINVAL
Unknown bucket, no children, no OSDs - ENOENT

Here cephadm can't differentiate between first two return codes. The other way is match the message text, “Invalid Ceph version” in cephadm. But that's a fragile agreement since if the cpp code rewords that message, cephadm will go back to the wrong error.

This work item is based on the https://tracker.ceph.com/issues/83338.

No data to display

Actions

Also available in: PDF Atom