Public bug reported:

hb_report does not support deb packages. When ran in a deb based OS, the
script throws an error and exits. The final result is an incomplete system
report.

This has been fixed upstream in
https://github.com/ClusterLabs/crmsh/pull/926

To be able to reproduce this issue, one needs to either provide a crmd
binary (old, removed pacemaker daemon) or replace the calls in the
current package for calls to pacemaker-controld. See
https://bugs.launchpad.net/ubuntu/+source/crmsh/+bug/1958241 for further
reference.

Then, run

$ /usr/share/crmsh/hb_report/hb_report -v -f 2pm report_1

Which should throw an exception as:

Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/share/crmsh/hb_report/utillib.py", line 1568, in sys_info
    out_string += crmsh_info()
  File "/usr/share/crmsh/hb_report/utillib.py", line 433, in crmsh_info
    return res[0].split()[-1]
IndexError: list index out of range

** Affects: crmsh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958246

Title:
  crmsh's hb_report does not support deb based systems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crmsh/+bug/1958246/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to