quipucords / rho

A tool for scanning a network, logging into systems using SSH, and retrieving information about available Unix and Linux servers.
https://quipucords.github.io/rho/
GNU General Public License v2.0
5 stars 7 forks source link

Abnormal termination during fuse_on_eap processing #567

Closed chambridge closed 6 years ago

chambridge commented 6 years ago

Specify type:

Bug severity (if applicable):

Description:

Scan fails with Traceback during fuse_on_eap processint


Bug Report

Version of rho:

0.0.31

Expected behavior:

Scan completes and produces CSV file.

Actual behavior:

Abnormal termniation

PLAY RECAP *********************************************************************
10.xxx.yyy.35               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.36               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.37               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.38               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.39               : ok=219  changed=83   unreachable=0    failed=0
10.xxx.yyy.40               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.41               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.50               : ok=219  changed=83   unreachable=0    failed=0
10.xxx.yyy.51               : ok=211  changed=76   unreachable=0    failed=0
10.xxx.yyy.52               : ok=211  changed=76   unreachable=0    failed=0
localhost                  : ok=2    changed=1    unreachable=0    failed=0

Processing scan data for 10 more systems.
…

Traceback (most recent call last):
  File "/usr/bin/rho", line 28, in <module>
    CLI().main()
  File "/usr/lib/python2.7/site-packages/rho/cli.py", line 137, in main
    cmd.main()
  File "/usr/lib/python2.7/site-packages/rho/clicommand.py", line 87, in main
    self._do_command()
  File "/usr/lib/python2.7/site-packages/rho/scancommand.py", line 311, in _do_command
    verbosity=self.verbosity)
  File "/usr/lib/python2.7/site-packages/rho/inventory_scan.py", line 344, in inventory_scan
    group_facts = process_host_vars(facts_to_collect, vars_by_host)
  File "/usr/lib/python2.7/site-packages/rho/inventory_scan.py", line 167, in process_host_vars
    postprocessing.process_fuse_on_eap(facts_to_collect, host_vars))
  File "/usr/lib/python2.7/site-packages/rho/postprocessing.py", line 811, in process_fuse_on_eap
    for eap_home in eap_homes]),
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 6: ordinal not in range(128)