[ClusterLabs] [Question] About log collection of crm_report.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Mon Jan 23 17:17:39 EST 2017

Hi All,

When I carry out Pacemaker1.1.15 and Pacemaker1.1.16 in RHEL7.3, log in conjunction with pacemaker is not collected in the file which I collected in sosreport.

This seems to be caused by the next correction and pacemaker.py script of RHEL7.3.

 - https://github.com/ClusterLabs/pacemaker/commit/1bcad6a1eced1a3b6c314b05ac1d353adda260f6
 - https://github.com/ClusterLabs/pacemaker/commit/582e886dd8475f701746999c0093cd9735aca1ed#diff-284d516fab648676f5d93bc5ce8b0fbf

        if not self.get_option("crm_scrub"):
            crm_scrub = ""
            self._log_warn("scrubbing of crm passwords has been disabled:")
            self._log_warn("data collected by crm_report may contain"
                           " sensitive values.")
        self.add_cmd_output('crm_report --sos-mode %s -S -d '
                            ' --dest %s --from "%s"' %
                            (crm_scrub, crm_dest, crm_from),

When a user carries out crm_report in sosreport, what is the reason that set search_logs to 0?

We think that the one where search_logs works with 1 in sosreport is right.

Best Regards,
Hideo Yamauchi.

More information about the Users mailing list