Why does "leapp preupgrade" fail with "CalledProcessError: Command ['/usr/sbin/xfs_info', '/dev/shm'] failed with exit code 1 " error?

Solution Verified - Updated -

Issue

  • The command leapp preupgrade fails with the below error:

      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 290, in run
        self.process(*args)
      File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/xfsinfoscanner/actor.py", line 23,in process
        scan_xfs()
      File "/usr/share/leapp-        repository/repositories/system_upgrade/common/actors/xfsinfoscanner/libraries/xfsinfoscanner.py", line 45, in sc an_xfs
        mountpoints_ftype0 = list(filter(is_xfs_without_ftype, mountpoints))
      File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/xfsinfoscanner/libraries/xfsinfoscanner.py", line 24, in is_xfs_without_ftype
        for l in run(['/usr/sbin/xfs_info', '{}'.format(mp)], split=True)['stdout']:
      File "/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/__init__.py", line 188, in run
    result=result
    CalledProcessError: Command ['/usr/sbin/xfs_info', '/dev/shm'] failed with exit code 1.
    

Environment

  • Red Hat Enterprise Linux 7.9
  • Leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content