Project

General

Profile

Actions

Bug #41158

closed

ceph-volume prints log messages to stdout

Added by Jan Fajerski over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[root@osd1 /]# ceph-volume simple scan /dev/sda1 --stdout 2>/dev/null
Running command: /usr/sbin/cryptsetup status /dev/sda1
Running command: /bin/mount -v /dev/sda1 /tmp/tmp_NrdoM
stdout: mount: /dev/sda1 mounted on /tmp/tmp_NrdoM.
Running command: /bin/umount -v /tmp/tmp_NrdoM {
"active": "ok",
"ceph_fsid": "f3ea8c89-3b32-4abd-8aa9-07d1e6319e3b",
"cluster_name": "ceph",
"data": {
"path": "/dev/sda1",
"uuid": "de0465d1-b00b-4bd6-b1da-92e8f6cf0aef" 
},
"fsid": "de0465d1-b00b-4bd6-b1da-92e8f6cf0aef",
"journal": {
"path": "/dev/sdc1",
"uuid": "b8e4707c-c28a-45fb-913f-6680a5f3b2d4" 
},
"journal_uuid": "b8e4707c-c28a-45fb-913f-6680a5f3b2d4",
"keyring": "AQDSiUld6XdXGxAAksb27KOAv5/byZ9ybu8J9w==",
"magic": "ceph osd volume v026",
"none": "",
"ready": "ready",
"require_osd_release": 14,
"type": "filestore",
"whoami": 10
}
[root@osd1 /]#

We should avoid logging to stdout at all times.


Related issues 4 (0 open4 closed)

Copied from ceph-volume - Bug #38548: ceph-volume prints errors to stdout with --format jsonResolved03/01/2019

Actions
Copied to ceph-volume - Backport #41201: mimic: ceph-volume prints log messages to stdoutResolvedJan FajerskiActions
Copied to ceph-volume - Backport #41202: luminous: ceph-volume prints log messages to stdoutResolvedJan FajerskiActions
Copied to ceph-volume - Backport #41203: nautilus: ceph-volume prints log messages to stdoutResolvedJan FajerskiActions
Actions #1

Updated by Jan Fajerski over 4 years ago

  • Copied from Bug #38548: ceph-volume prints errors to stdout with --format json added
Actions #2

Updated by Jan Fajerski over 4 years ago

  • Pull request ID changed from 27675 to 29547
  • Affected Versions v0.80.10 added
Actions #3

Updated by Jan Fajerski over 4 years ago

  • Affected Versions v15.0.0 added
  • Affected Versions deleted (v0.80.10)
Actions #4

Updated by Jan Fajerski over 4 years ago

  • Status changed from New to Pending Backport
Actions #5

Updated by Jan Fajerski over 4 years ago

  • Copied to Backport #41201: mimic: ceph-volume prints log messages to stdout added
Actions #6

Updated by Jan Fajerski over 4 years ago

  • Copied to Backport #41202: luminous: ceph-volume prints log messages to stdout added
Actions #7

Updated by Jan Fajerski over 4 years ago

  • Copied to Backport #41203: nautilus: ceph-volume prints log messages to stdout added
Actions #8

Updated by Jan Fajerski over 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF