Bug 1325379 - Check for running and paused tasks in installer before starting with upgrades.
Summary: Check for running and paused tasks in installer before starting with upgrades.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 15:44 UTC by Ivan Necas
Modified: 2018-08-02 20:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 20:59:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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