Project

General

Profile

Bug #45576

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

Added by Sebastian Wagner almost 4 years ago. Updated over 3 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.

History

#1 Updated by Sebastian Wagner almost 4 years ago

Same is true for

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

#2 Updated by Sebastian Wagner almost 4 years 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 over 3 years ago

  • Status changed from New to Resolved

resolved in the meanwhile

Also available in: Atom PDF