Bug 1640974
| Summary: | foreman-maintain doesn't quit the actual run when q is pressed | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Nagoor Shaik <nshaik> |
| Component: | Satellite Maintain | Assignee: | Kavita <kgaikwad> |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4 | CC: | apatel, aupadhye, egolov, inecas, jpathan, kgaikwad, ktordeur, mbacovsk, pmoravec, vijsingh |
| Target Milestone: | 6.9.0 | Keywords: | Reopened, Triaged, UserExperience |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_maintain-0.7.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-04-21 14:48:22 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: | |||
Created redmine issue http://projects.theforeman.org/issues/25291 from this bug Issue is still present with latest version on Satellite 6.6 : ~~~ satellite-maintain-0.0.1-1.el7sat.noarch rubygem-foreman_maintain-0.4.10-1.el7sat.noarch ~~~ # foreman-maintain upgrade check --target-version 6.6.z ~~~ Running Checks before upgrading to Satellite 6.6.z ================================================================================ Check for verifying syntax for ISP DHCP configurations: [OK] -------------------------------------------------------------------------------- Check whether all services are running: [OK] -------------------------------------------------------------------------------- Check whether all services are running using the ping call: [OK] -------------------------------------------------------------------------------- Check for paused tasks: [FAIL] There are currently 1 paused tasks in the system -------------------------------------------------------------------------------- There are multiple steps to proceed: 1) Resume paused tasks 2) Investigate the tasks via UI Select step to continue, [n(next), q(quit)] q <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< q Check to verify no empty CA cert requests exist: [OK] -------------------------------------------------------------------------------- Check to make sure root(/) partition has enough space: [OK] -------------------------------------------------------------------------------- Check to validate candlepin database: [OK] -------------------------------------------------------------------------------- Check if EPEL repository enabled on system: | Checking for presence of EPEL repository [OK] -------------------------------------------------------------------------------- Check for running tasks: [OK] -------------------------------------------------------------------------------- Check for old tasks in paused/stopped state: [FAIL] Found 3108 paused or stopped task(s) older than 30 days -------------------------------------------------------------------------------- Continue with step [Delete old tasks]?, [y(yes), n(no), q(quit)] q <<<<<<<<<<<<<<<<<<<<<< q Check for pending tasks which are safe to delete: [OK] -------------------------------------------------------------------------------- Check for tasks in planning state: [OK] -------------------------------------------------------------------------------- Check to verify if any hotfix installed on system: / Checking for presence of hotfix(es). It may take some time to verify. ... ~~~ Unclean workaround: Use Ctrl+C instead :-/ The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you. Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/25291 has been resolved. Verified. Satellite 6.9.0 Snap 12 Version: rubygem-foreman_maintain-0.7.4-1.el7sat.noarch Observation: - For the 2nd question from Comment 9 Filed a new BZ - https://bugzilla.redhat.com/show_bug.cgi?id=1927170 - For the 3rd question from Comment 9, there was BZ filed earlier - https://bugzilla.redhat.com/show_bug.cgi?id=1526774 - quit option is not available for health checks and pre-upgrade checks. - quit option is available for online/offline backup related commands. - quit option available for confirming modification part of the upgrade. - quit option available for packages install/update command. Thank you, Amit. - Gaurav Talreja 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 (Satellite 6.9 Satellite Maintenance Release), 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-2021:1312 |
Description of problem: foreman-maintain doesn't quit the actual run when q is pressed Version-Release number of selected component (if applicable): rubygem-foreman_maintain-0.2.11-1.el7sat.noarch How reproducible: 100% Steps to Reproduce: 1. Run the Satellite 6.4 upgrade check as shown below Running Checks before upgrading to Satellite 6.4 ================================================================================ Check for verifying syntax for ISP DHCP configurations: [SKIPPED] DHCP feature is not enabled -------------------------------------------------------------------------------- Check whether all services are running: [OK] -------------------------------------------------------------------------------- Check whether all services are running using hammer ping: [OK] -------------------------------------------------------------------------------- Check for paused tasks: [OK] -------------------------------------------------------------------------------- Check to validate candlepin database: [OK] -------------------------------------------------------------------------------- Check if EPEL repository enabled on system: / Checking for presence of EPEL repository [OK] -------------------------------------------------------------------------------- Check for running tasks: [OK] -------------------------------------------------------------------------------- Check for old tasks in paused/stopped state: [FAIL] Found 11 paused or stopped task(s) older than 30 days -------------------------------------------------------------------------------- Continue with step [Delete old tasks]?, [y(yes), n(no), q(quit)] q -----> q is pressed Check for pending tasks which are safe to delete: [OK] -------------------------------------------------------------------------------- Check for tasks in planning state: [OK] -------------------------------------------------------------------------------- Check for recommended disk speed of pulp, mongodb, pgsql dir.: \ Finished Disk speed : 21 MB/sec [FAIL] Slow disk detected /var/lib/pulp mounted on /dev/mapper/myvg-rootvol. Actual disk speed: 21 MB/sec Expected disk speed: 60 MB/sec. -------------------------------------------------------------------------------- Check whether reports have correct associations: [OK] -------------------------------------------------------------------------------- Verify puppet and provide upgrade guide for it: / current puppet version: [OK] -------------------------------------------------------------------------------- Validate availability of repositories: / Validating availability of repositories for 6.4 [OK] -------------------------------------------------------------------------------- Scenario [Checks before upgrading to Satellite 6.4] failed. The following steps ended up in failing state: [check-old-foreman-tasks] [disk-performance] Actual results: Even after pressing q (quit) option foreman-maintain utility ran further Expected results: q (quit) should quit as specified Additional info: