Why does LEAPP preupgrade fail with traceback and error "PID:63793 leapp.workflow.TargetTransactionCheck: Actor adjust_local_repos has crashed: None" ?

Solution Verified - Updated -

Issue

  • Leapp upgrade from 7.9 to 8.10 fails with a traceback.

    Complete!
    ==> Processing phase `TargetTransactionCheck`
    ====> * adjust_local_repos
            Adjust local repositories to the target user-space container.
    Process Process-<PID>:
    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 68, in _do_run
        definition.load()
      File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 192, in load
        with self.injected_context():
      File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
        return self.gen.next()
      File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 308, in injected_context
        previous_path = os.getcwd()
    OSError: [Errno 2] No such file or directory
    2024-06-25 15:05:56.902 ERROR    PID: <PID> leapp.workflow.TargetTransactionCheck: Actor adjust_local_repos has crashed: None
    
    ===================================================================================================
    Actor adjust_local_repos 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.

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