-
Bug
-
Resolution: Done-Errata
-
Critical
-
rhel-8.10
-
leapp-repository-0.20.0-12.el7_9
-
None
-
Important
-
1
-
rhel-sst-upgrades
-
20
-
2
-
False
-
-
None
-
Leapp: 9.5 & 10.0 public beta
-
Requested
-
None
-
-
All
-
None
What were you trying to do that didn't work?
While in-place upgrading from 7.9 to 8.10, the customer has got a traceback with
CalledProcessError: Command ['chroot', '/var/lib/leapp/el8userspace', '/bin/bash', '-c', 'su - -c update-ca-trust'] failed with exit code 127.
Only 133 packages have been installed in the target userspace container and it lacks 'util-linux' which provides the 'su' command, among other packages.
Notes:
- a local RHEL 8 repository is used
- downgrading to the previous leapp version works for them, the IPU is successful.
Please provide the package NVR for which bug is seen:
leapp-upgrade-el7toel8-0.20.0-2.el7_9.noarch
How reproducible:
Always for the customer, unable to reproduce internally.
Actual results
Risk Factor: high (error) Title: Actor target_userspace_creator unexpectedly terminated with exit code: 1 Summary: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 289, in run self.process(*args) File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/actor.py", line 58, in process userspacegen.perform() File "/usr/lib/python2.7/site-packages/leapp/utils/deprecation.py", line 42, in process_wrapper return target_item(*args, **kwargs) File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1246, in perform _create_target_userspace(context, indata, indata.packages, indata.files, target_repoids) File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 1108, in _create_target_userspace _prep_repository_access(context, target_path) File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 629, in _prep_repository_access run(["chroot", target_userspace, "/bin/bash", "-c", "su - -c update-ca-trust"]) File "/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/__init__.py", line 192, in run result=result CalledProcessError: Command ['chroot', '/var/lib/leapp/el8userspace', '/bin/bash', '-c', 'su - -c update-ca-trust'] failed with exit code 127.
- is cloned by
-
RHEL-50847 Leapp fails while running "su - -c update-ca-trust" exit code 127 with fapolicy enabled [rhel-9]
- Planning
- is related to
-
RHEL-50161 Leapp fails while running "su - -c update-ca-trust" exit code 1
- Planning
- links to
-
RHBA-2024:132707 leapp-repository bug fix update
- mentioned in
-
Page Loading...
- mentioned on