Project

General

Profile

Actions

Bug #20002

closed

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

Added by Lukas Pramuk over 7 years ago. Updated over 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 #1

Updated by Lukas Pramuk over 7 years ago

  • Copied from Bug #19146: World invalidation can fail, when execution plans are invalid added
Actions #2

Updated by Lukas Pramuk over 7 years ago

We need to get this fixed also for execution plans index - /foreman_tasks/dynflow/
After creating invalid worlds (see description) the page is throwing "Internal Server Error"

#19146 missed to fix it

Actions #3

Updated by Ivan Necas over 7 years ago

  • Subject changed from World invalidation can fail, when execution plans are invalid to ISE on /foreman_tasks/dynflow/ when some invalid plans are in place
  • Description updated (diff)
  • Status changed from Closed to New
Actions #4

Updated by Ivan Necas over 7 years ago

  • Target version deleted (1.12.4)
  • Translation missing: en.field_release deleted (261)
Actions #5

Updated by Ivan Necas over 7 years ago

  • Target version set to 113
Actions #6

Updated by Ivan Necas over 7 years ago

  • Bugzilla link set to 1390931
Actions #7

Updated by Ivan Necas over 7 years ago

  • Bugzilla link changed from 1390931 to 1343617
Actions #8

Updated by Adam Ruzicka about 7 years ago

  • Status changed from New to Closed

Closing since the issue should not be present anymore.

Actions

Also available in: Atom PDF