Project

General

Profile

Actions

Feature #22226

closed

[RFE] foreman-maintain should provide a way to pass extra options to the satellite installer (if required)

Added by Anurag Patel about 6 years ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

From Bugzilla:

Description of problem:

If there is any need to pass extra parameters to the installer like "--disable-system-checks" in case the system does not have enough RAM

If the " # foreman-maintain upgrade run --target-version 6.3 " command failed with error:

This system has less than 8 GB of total memory. Please have at least 8 GB of total ram free before running the installer.

Then

1. there is no way pass --disable-system-checks option to the foreman-maintain command or any other additional options.

2. If we implement above option (1), the error message needs to be improved:

Currently foreman-maintain throws below message:

--------------------------------------------------------------------------------
Procedures::Installer::Upgrade:
This system has less than 8 GB of total memory. Please have at least 8 GB of total ram free before running the installer.
[FAIL]
Failed executing satellite-installer --upgrade, exit status 1
--------------------------------------------------------------------------------
Scenario [Migration scripts to Satellite 6.3] failed.

The following steps ended up in failing state:

[installer-upgrade]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="installer-upgrade"

instead of this, it should suggest user to run the foreman-maintain with additional installer option --disable-system-checks, instead of suggesting to add installer-upgrade to the whitelist.

The suggestion to add an installer-upgrade step in whitelist is not a good idea which will keep the satellite in an incomplete state.

Actions #1

Updated by Eric Helms about 1 month ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF