Why does leapp preupgrade actor for xfs_info_scanner fails with UnicodeEncodeError error ?
Issue
-
The leapp preupgrade command fails with the below error for
xfs_info_scanner
actor====> * xfs_info_scanner This actor scans all mounted mountpoints for XFS information Process Process-203: Traceback (most recent call last): File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 335, in run self.process(*args) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/xfsinfoscanner/actor.py", line 23, in process scan_xfs() File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/xfsinfoscanner/libraries/xfsinfoscanner.py", line 56, in scan_xfs mountpoints_ftype0 = list(filter(is_xfs_without_ftype, mountpoints)) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/xfsinfoscanner/libraries/xfsinfoscanner.py", line 33, in is_xfs_without_ftype for l in run(['/usr/sbin/xfs_info', '{}'.format(mp)], split=True)['stdout']: UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-11: ordinal not in range(128) ================================================================================================= Actor xfs_info_scanner unexpectedly terminated with exit code: 1 - Please check the above details =================================================================================================
Environment
- Red Hat Enterprise Linux 7
leapp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.