Project

General

Profile

Actions

Bug #20002

closed

ISE on /foreman_tasks/dynflow/ when some invalid plans are in place

Added by Lukas Pramuk almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dynflow
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

How reproducible:
under special circumstances

Steps to Reproduce:
1. trigger a task
2. force kill the dynflow executor process
3. while the task is runnint, delete data from dynflow manually (CAUTION: THIS IS BY NO MEANS A RECOMMENDED WAY OF DEALING WITH TASKS - FOR REPRODUCER PURPOSES ONLY):
psql foreman
delete from foreman_tasks_locks;
delete from dynflow_steps;
delete from dynflow_actions;
exit
note we are not deleting dynflow_execution_plans and foreman_tasks_tasks
4. restart the foreman-tasks service
5. go to /foreman_tasks/dynflow

Actual results:
internal server error

Excpeted results:
the rows with invalid tasks are shown, not internal server error appears


Related issues 1 (0 open1 closed)

Copied from foreman-tasks - Bug #19146: World invalidation can fail, when execution plans are invalidClosedIvan Necas11/02/2016Actions
Actions

Also available in: Atom PDF