Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1518179 - [RFE] foreman-maintain should provide a way to pass extra options to the satellite installer (if required)
Summary: [RFE] foreman-maintain should provide a way to pass extra options to the sate...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Foreman Maintain
Version: 6.3.0
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: Unspecified
Assignee: Anurag Patel
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-28 11:30 UTC by Ashish Humbe
Modified: 2019-03-24 03:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Foreman Issue Tracker 22226 None None None 2018-01-10 13:56:14 UTC

Description Ashish Humbe 2017-11-28 11:30:30 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.