Project

General

Profile

Actions

Bug #45576

closed

cephadm: `cephadm ls` does not play well with `cephadm logs`

Added by Sebastian Wagner almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

Right now users need to run

cephadm ls | jq -r '.[] | "\(.fsid) \(.name)"' | while read fsid name ; do
  cephadm logs --fsid $fsid --name $name
done

in order to fetch all logs. There needs to be a better way.

Actions

Also available in: Atom PDF