Leapp upgrade utility fails on Red Hat Satellite 6.11 with error Insufficient memory for tuning size
Environment
- Red Hat Satellite 6.11
Issue
-
Running leapp upgrade utility on Red Hat Satellite 6.11 to upgrade Operating System from RHEL 7 to RHEL 8 fails due to insufficient resources with below error:
2022-04-01 16:27:54.490 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Insufficient memory for tuning size 2022-04-01 16:27:54.493 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Tuning profile 'default' requires at least 8 GB of memory and 1 CPU cores 2022-04-01 16:27:54.494 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Command ['foreman-installer'] failed with exit code 103. 2022-04-01 16:27:54.496 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: External command has finished: ['foreman-installer'] 2022-04-01 16:27:54.497 ERROR PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Could not run the installer, please inspect the logs in /var/log/foreman-installer!
Resolution
- As a workaround of This content is not included.Bug 2071553, run
# foreman-installer --disable-system-checksafter the RHEL8 system has booted and logs indicate the satellite-installer has not run correctly.
For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues
Root Cause
- Red Hat Engineering team is already aware of this bug and is currently tracking the same in This content is not included.Bug 2071553
Diagnostic Steps
-
Below errors are observed in
/var/log/leapp/leapp-upgrade.logon Satellite machine.2022-04-01 16:27:45.297 INFO PID: 1198 leapp.workflow.FirstBoot: Executing actor satellite_upgrader 2022-04-01 16:27:45.320 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: External command has started: ['foreman-installer'] 2022-04-01 16:27:46.711 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: 2022-04-01 16:27:46 [NOTICE] [root] Loading installer configuration. This will take some time. 2022-04-01 16:27:50.597 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: 2022-04-01 16:27:50 [NOTICE] [root] Running installer with log based terminal output at level NOTICE. 2022-04-01 16:27:50.598 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: 2022-04-01 16:27:50 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions. 2022-04-01 16:27:54.490 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Insufficient memory for tuning size 2022-04-01 16:27:54.493 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Tuning profile 'default' requires at least 8 GB of memory and 1 CPU cores 2022-04-01 16:27:54.494 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Command ['foreman-installer'] failed with exit code 103. 2022-04-01 16:27:54.496 DEBUG PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: External command has finished: ['foreman-installer'] 2022-04-01 16:27:54.497 ERROR PID: 1632 leapp.workflow.FirstBoot.satellite_upgrader: Could not run the installer, please inspect the logs in /var/log/foreman-installer!
SBR
Product(s)
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.