Bug ID 1088784
Summary hb_report does not work, failed to connect to other nodes.
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component High Availability
Assignee ha-bugs@suse.de
Reporter lszhu@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

node1:/home/lszhu # hb_report 
WARNING: node1# passwordless ssh to node(s)  node2 does not work
WARNING: node1# could not figure out the log format of
/var/log/ha-cluster-bootstrap.log
Traceback (most recent call last):
  File "/usr/share/crmsh/hb_report/hb_report", line 411, in <module>
    run()
  File "/usr/share/crmsh/hb_report/hb_report", line 269, in run
    get_log()
  File "/usr/share/crmsh/hb_report/hb_report", line 67, in get_log
    os.path.join(constants.WORKDIR, constants.JOURNAL_F))
  File "/usr/share/crmsh/hb_report/utillib.py", line 334, in collect_journal
    crmutils.str2file(get_command_info(cmd)[1], outf)
  File "/usr/lib/python3.6/site-packages/crmsh/utils.py", line 529, in str2file
    dst.write(to_ascii(s))
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position
275597: ordinal not in range(128)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
INFO: node1# Please provide password for you user at node2
INFO: node1# Note that collecting data will take a while.
WARNING: node1# ssh: connect to host node2 port 22: No route to host
INFO: node1# Trying connect by 192.168.100.18
WARNING: node1# ssh: connect to host 192.168.100.18 port 22: No route to host
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
INFO: node1# The report is saved in ./hb_report-2-10-04-2018.tar.bz2
INFO: node1# Report timespan: 04/09/18 23:27:00 - 04/10/18 11:27:46
INFO: node1# Thank you for taking time to create this report.
node1:/home/lszhu # crm status
Stack: corosync
Current DC: node1 (version 1.1.18+20180216.ae50b7f5d-1.1-ae50b7f5d) - partition
with quorum
Last updated: Tue Apr 10 11:27:51 2018
Last change: Tue Apr  3 14:19:38 2018 by hacluster via cibadmin on node1

2 nodes configured
2 resources configured

Online: [ node1 node2 ]

Full list of resources:

 admin-ip    (ocf::heartbeat:IPaddr2):    Started node1


You are receiving this mail because: