Bug 1463383
| Summary: | [RFE] Satellite installer should not run on systems which have hotfixes applied | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Rich Jerrido <rjerrido> |
| Component: | Satellite Maintain | Assignee: | Kavita <kgaikwad> |
| Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.9 | CC: | apatel, bkearney, cdonnell, egolov, inecas, jcallaha, kgaikwad, mbacovsk, vijsingh, zhunting |
| Target Milestone: | 6.6.0 | Keywords: | FutureFeature, PrioBumpGSS |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_maintain-0.4.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 16:36:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rich Jerrido
2017-06-20 17:47:32 UTC
Note (and these are suggestions) - the upstream installer has the '--disable-system-checks This option will skip the system checks for memory. (default: false)' option, which could be leveraged for this. - this _could_ be implemented via foreman-maintain or the installer. 1) foreman-maintain health check --label hotfix-check 2) yum update 3) satellite-installer --upgrade. Created redmine issue http://projects.theforeman.org/issues/25186 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25186 has been resolved. Verified
@Satellite 6.6.0 snap 4
@rubygem-foreman_maintain-0.4.1-1.el7sat.noarch
Steps:
- applied a hotfix on satellite
- modified file related to foreman
- Run # foreman-maintain health check --label check-hotfix-installed
Observation:
- Foreman-maintain was able to detect modified files and installed hotfix on system
# foreman-maintain health check --label check-hotfix-installed
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check to verify if any hotfix installed on system:
- Checking for presence of hotfix(es). It may take some time to verify.
[WARNING]
HOTFIX rpm(s) applied on this system:
utils-1.0.0-1.HOTFIX.noarch
Found 1 file(s) modified on this system.
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman_remote_execution-0.1.0/lib/hammer_cli_foreman_remote_execution/options/normalizers.rb
*** WARNING: Before update make sure the updated packages contain the listed modifications
*** otherwise these fixes will be lost.
*** It is also recommended to backup the modified files prior update.
--------------------------------------------------------------------------------
Scenario [ForemanMaintain::Scenario::FilteredScenario] failed.
The following steps ended up in warning state:
[check-hotfix-installed]
The steps in warning state itself might not mean there is an error,
but it should be reviews to ensure the behavior is expected
Additional info:
- The check 'check-hotfix-installed' only gives warning to user.
- The installed hotfix package should have "HOTFIX" mentioned in it's release
otherwise check won't work.(e.g. utils-1.0.0-1.HOTFIX.noarch)
Additional info: - If the system is subscribed using custom activation key, then 'check-hotfix-installed' will be skipped. # foreman-maintain health check --label check-hotfix-installed Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check to verify if any hotfix installed on system: [SKIPPED] Your system is subscribed using custom activation key. Hotfixes can't be detected. -------------------------------------------------------------------------------- Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3181 |