Red Hat Bugzilla – Bug 1438269
ceph plugin does not collect /etc/calamari or /var/lib/ceph
Last modified: 2017-08-01 19:10:42 EDT
Description of problem: Due to a typo (missing coma) in ceph plugin: self.add_copy_spec([ "/etc/ceph/", "/etc/calamari/" "/var/lib/ceph/", "/var/run/ceph/" ]) , sosreport does not collect either of directories /etc/calamari or /var/lib/ceph. Version-Release number of selected component (if applicable): sos-3.4-1.el7.noarch How reproducible: 100% Steps to Reproduce: 1. mkdir /etc/calamari/ /var/lib/ceph date > /etc/calamari/whatever.conf date > /var/lib/ceph/whatever.varlib 2. sosreport -vv -o ceph --batch 3. Check if both files are collected. Actual results: Neither file is collected now. Expected results: Both files should be collected. Additional info:
*** Bug 1444088 has been marked as a duplicate of this bug. ***
commit 44f3e7332516f09738dc865e943eb70eceb50553 Author: Bryn M. Reeves <bmr@redhat.com> Date: Thu Apr 20 16:19:46 2017 +0100 [ceph] fix list formatting Fix the formatting of the add_copy_spec() lists in ceph: make the first conform to the sos bracing and indenting rules for lists in argument tuples, and fix a missing comma in the second. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2203