Bug 2066870

Summary: Satellite task result is showing state pending and result success state
Product: Red Hat Satellite Reporter: Sneha Arya <snarya>
Component: DynflowAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, aruzicka, saydas
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-14 09:10:06 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:

Description Sneha Arya 2022-03-22 16:29:59 UTC
Description of problem:

Satellite task result is showing state pending and result success state.


Version-Release number of selected component (if applicable):
6.10


How reproducible:
It's rare to reproduce but it occurred in customer's environment.


Additional info:

Foreman rake is failing with following errors:

~~~
# foreman-rake foreman_tasks:export_tasks TASK_SEARCH="id= XYZ

Exporting all tasks matching filter id=XZY
Gathering 1 tasks.
rake aborted!
NoMethodError: undefined method `id' for nil:NilClass



# hammer task info --id XYZ
ID:         XYZ
Action:
State:      pending
Result:     success
Started at:
Ended at:
Owner:
~~~

Comment 2 Brad Buckingham 2022-03-24 14:22:27 UTC
Would it be possible to attach the stack trace for when the error occurs?

Comment 5 Adam Ruzicka 2022-04-26 12:04:57 UTC
*** Bug 2066869 has been marked as a duplicate of this bug. ***

Comment 7 Adam Ruzicka 2023-08-14 09:10:06 UTC
I'm afraid we don't have enough information to go by here so I'll go ahead and close this. If anyone comes up with a reliable way of reproducing this, please do reopen this bug and we'll take another look at it.