A Leapp System Upgrade Fails and Boots to Emergency Mode

Solution Verified - Updated -

Issue

  • After attempting to upgrade from RHEL 7 to RHEL 8, the system reboots to maintenance mode and fails to update.
  • During a Leapp upgrade, the following backtrace is visible:
upgrade[<pid>]: Traceback (most recent call last):
upgrade[<pid>]:   File "/usr/bin/leapp", line 9, in <module>
upgrade[<pid>]:     load_entry_point('leapp==0.7.0', 'console_scripts', 'leapp')()
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/cli/__init__.py", line 30, in main
upgrade[<pid>]:     cli.command.execute('leapp version {}'.format(VERSION))
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 90, in execute
upgrade[<pid>]:     args.func(args)
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 112, in called
upgrade[<pid>]:     self.target(args)
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/cli/upgrade/__init__.py", line 170, in upgrade
upgrade[<pid>]:     workflow.run(context=context, skip_phases_until=skip_phases_until)
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/workflows/__init__.py", line 210, in run
upgrade[<pid>]:     if messaging.errors():
upgrade[<pid>]:   File "/usr/lib/python2.7/site-packages/leapp/messaging/__init__.py", line 55, in errors
upgrade[<pid>]:     return list(self._errors)
upgrade[<pid>]:   File "<string>", line 2, in __len__
upgrade[<pid>]:   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 755, in _callmethod
upgrade[<pid>]:     self._connect()
upgrade[<pid>]:   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 742, in _connect
upgrade[<pid>]:     conn = self._Client(self._token.address, authkey=self._authkey)
upgrade[<pid>]:   File "/usr/lib64/python2.7/multiprocessing/connection.py", line 173, in Client
upgrade[<pid>]:     c = SocketClient(address)
upgrade[<pid>]:   File "/usr/lib64/python2.7/multiprocessing/connection.py", line 308, in SocketClient
upgrade[<pid>]:     s.connect(address)
upgrade[<pid>]:   File "/usr/lib64/python2.7/socket.py", line 224, in meth
upgrade[<pid>]:     return getattr(self._sock,name)(*args)
upgrade[<pid>]: socket.error: [Errno 2] No such file or directory

Environment

  • Red Hat Enterprise Linux 7
  • Leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In