Bug 1390933 - invalid state transition planned >> paused on foreman-tasks restart
Summary: invalid state transition planned >> paused on foreman-tasks restart
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Renzo Nuccitelli
URL:
Whiteboard:
: 1379820 (view as bug list)
Depends On:
Blocks: 1394385
TreeView+ depends on / blocked
 
Reported: 2016-11-02 09:41 UTC by Ivan Necas
Modified: 2020-09-10 09:54 UTC (History)
7 users (show)

Fixed In Version: rubygem-dynflow-0.8.13.3-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1394385 (view as bug list)
Environment:
Last Closed: 2016-12-12 17:15:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 17178 0 Normal Closed invalid state transition planned >> paused on foreman-tasks restart 2020-10-23 14:13:17 UTC
Red Hat Product Errata RHBA-2016:2940 0 normal SHIPPED_LIVE Satellite 6.2.5 Async Bug Release 2016-12-12 22:08:21 UTC

Description Ivan Necas 2016-11-02 09:41:09 UTC
Description of problem:
At some occasions, the task data can get into a state that prevent the system to recover properly from inconsistent state.

How reproducible:
Rarely

Steps to Reproduce:
1. kill -9 dynflow executor while some task is running (has to be shortly after enough triggering some tasks)
2. foreman-tasks restart

Actual results:
the  task still acting as being run by killed executor

Expected results:
the task marked as planned on running by new executor

Comment 2 Ivan Necas 2016-11-02 11:06:23 UTC
Created redmine issue http://projects.theforeman.org/issues/17178 from this bug

Comment 3 Ivan Necas 2016-11-02 11:23:35 UTC
It is another case of https://bugzilla.redhat.com/show_bug.cgi?id=1379820

Comment 5 Bryan Kearney 2016-11-02 12:11:32 UTC
Upstream bug assigned to inecas

Comment 6 Bryan Kearney 2016-11-02 12:11:34 UTC
Upstream bug assigned to inecas

Comment 7 Bryan Kearney 2016-11-07 11:11:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17178 has been resolved.

Comment 8 Ivan Necas 2016-12-01 22:37:26 UTC
*** Bug 1379820 has been marked as a duplicate of this bug. ***

Comment 10 Renzo Nuccitelli 2016-12-08 18:38:29 UTC
A deterministic way of reproduce it:

1. Run service foreman-tasks stop
2. Initiate your task
3. Check planned state working as expected
4. Run Run service foreman-tasks start

And now system is working for tasks on planned state on version 6.2.5.

Comment 11 Renzo Nuccitelli 2016-12-08 18:38:54 UTC
No info is needed anymore.

Comment 13 errata-xmlrpc 2016-12-12 17:15:22 UTC
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-2016:2940


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