Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1460240 - Failed task has state 'planning' and result 'pending' instead of 'error'
Summary: Failed task has state 'planning' and result 'pending' instead of 'error'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Adam Ruzicka
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-09 12:57 UTC by Stanislav Tkachenko
Modified: 2019-09-26 18:40 UTC (History)
6 users (show)

Fixed In Version: foreman-tasks-0.9.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:49:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of Tasks page (139.90 KB, image/png)
2017-06-09 12:57 UTC, Stanislav Tkachenko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19570 0 Normal Closed tasks that hit lock error remain in 'pending' 2020-04-22 12:07:32 UTC

Description Stanislav Tkachenko 2017-06-09 12:57:16 UTC
Created attachment 1286409 [details]
Screenshot of Tasks page

Description of problem:
I've tried to create organization with existing name via API, corresponding task obviously failed, however under Monitor/Tasks it is listed with state 'planning' and result 'pending' (check attached screenshot). On 6.2 it was 'stopped' and 'error'.

Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 1.0:
* katello-3.4.0-3.el7sat.noarch
* foreman-1.15.0-1.el7sat.noarch
* satellite-6.3.0-15.0.beta.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create organization
2. Try to create another organization with the same name
3. Check task's status at Monitor/Tasks

Actual results:
State 'planning' and result 'pending'

Expected results:
State 'stopped' and result 'error'

Additional info:

Comment 3 Adam Ruzicka 2017-06-12 10:46:04 UTC
Although the upstream bug describes a bit different situation, it was caused by the same thing.

Moving to POST since the bug is fixed in upstream (and released in foreman-tasks-0.9.2)

Comment 4 Djebran Lezzoum 2017-07-10 15:33:37 UTC
Verified and validated by automation

Comment 6 Satellite Program 2018-02-21 16:49:54 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/RHSA-2018:0336


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