Bug 1325379

Summary: Check for running and paused tasks in installer before starting with upgrades.
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: apatel, bkearney, gpayelka, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-02 20:59:19 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:

Description Ivan Necas 2016-04-08 15:44:26 UTC
Description of problem:

Relates to the https://bugzilla.redhat.com/show_bug.cgi?id=1294247.

Before doing the upgrade, the installer should check if there are not tasks running. Ideally, the logic should happen in a installer hook, but it should be also possible to run it before upgrading (ideally before yum update).

As we would need this presented in sat 6.1, if we wanted to do it before 6.2, we would still need to advise this commands via documentation (hammer commands checking for tasks). The reason for checking this before doing yum update is in case there is some unfinished task, the code of the actions might chance in after the update, which can lead to unexpected results.

Steps to Reproduce:
1. run long-running task
2. upgrade satellite
3. see the task getting paused due to restarts. The errors are dependent on the specific task.

This BZ is meant for actions we can do for 6.2. to prevent this situation.

Comment 2 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Bryan Kearney 2016-07-26 15:31:03 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Ivan Necas 2017-03-31 14:46:22 UTC
Yes, we are targetting this. I will as for a redmine project next week to start linking the issues from there.

Comment 7 Bryan Kearney 2018-08-02 20:59:19 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.