Project

General

Profile

Bug #45576

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

Added by Sebastian Wagner 4 months ago. Updated 2 months 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:

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.

History

#1 Updated by Sebastian Wagner 4 months ago

Same is true for

systemctl status -l 'ceph-$fsid@$name.service'

#2 Updated by Sebastian Wagner 4 months ago

  • Subject changed from cephadm: cephadm ls is not compatible to cephadm logs to cephadm: `cephadm ls` does not play well with `cephadm logs`

#3 Updated by Sebastian Wagner 2 months ago

  • Status changed from New to Resolved

resolved in the meanwhile

Also available in: Atom PDF