Bug #19147
Handle issues with loading execution_plan
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman plugin
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
There are various reasons that can cause the execution plan for a task not being available. We should still try
to not fail completely at those situations and try to show at least the data we have available in foreman_tasks_tasks table.
How to reproduce:
Follow http://projects.theforeman.org/issues/19146 for reproducer steps and go to the tasks details pages after doing so.
Expected results: the tasks page is still showing at least some data, not failing completely.
Current results: the tasks page is broken, returning 500 status code
Related issues
Associated revisions
History
#1
Updated by Ivan Necas about 6 years ago
- Related to Bug #19146: World invalidation can fail, when execution plans are invalid added
#2
Updated by Ivan Necas about 6 years ago
- Description updated (diff)
#3
Updated by The Foreman Bot about 6 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/246 added
#4
Updated by Ivan Necas about 6 years ago
- Bugzilla link set to 1438601
#5
Updated by Ivan Necas about 6 years ago
- Target version set to 1.12.4
#6
Updated by Adam Ruzicka about 6 years ago
- Status changed from Ready For Testing to Closed
Closing since github PR got merged.
#7
Updated by Ivan Necas about 6 years ago
- Category set to Foreman plugin
- Legacy Backlogs Release (now unused) set to 252
Fixes #19147 - handle situations when the plan is not available
There are various reasons that can cause the execution plan for a task
not being available. We should still try to not fail completely at those
situations and try to show at least the data we have available in
foreman_tasks_tasks table.
This changes also support corresponding changes in https://github.com/Dynflow/dynflow/pull/227