Project

General

Profile

Feature #26691

Allow sending partial updates via smart_proxy_dynflow

Added by Ivan Necas over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Proxy plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

So far, we've only supported POST /tasks/:task_id/done when sending callbacks to smart_proxy_dynflow
(used in rex async ssh). As part of adding ability to manually control the job lifecycle outside of the
initial script, I would like to add POST/tasks/:task_id/update as well, that will send external event to
the action, while preserving the otp for sub-sequential calls.


Related issues

Blocks Foreman Remote Execution - Feature #26428: Ability to restart the machine while the remote execution job is still acting as running - backendClosed
Blocked by foreman-tasks - Feature #26692: Allow sending partial updates from smart_proxy_dynflow to runnerClosed

Associated revisions

Revision 49cbb34e (diff)
Added by Ivan Necas about 1 year ago

Fixes #26691 - add `POST /tasks/:task_id/update` endpoint (#62)

  • Fixes #26691 - add `POST /tasks/:task_id/update` endpoint

Propagates external events to underlying action without invalidating the
OTP, so that it can be called multiple times.

  • Refs #26691 - fix tests and enhance the token auth scoping
  • Refs #26691 - Bump dependency on foreman_tasks_core

History

#1 Updated by Ivan Necas over 1 year ago

  • Blocks Feature #26428: Ability to restart the machine while the remote execution job is still acting as running - backend added

#2 Updated by Ivan Necas over 1 year ago

  • Assignee set to Ivan Necas
  • Status changed from New to Assigned

#3 Updated by Ivan Necas over 1 year ago

  • Blocked by Feature #26692: Allow sending partial updates from smart_proxy_dynflow to runner added

#4 Updated by The Foreman Bot over 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_dynflow/pull/62 added

#5 Updated by Ivan Necas about 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Adam Ruzicka about 1 year ago

  • Fixed in Releases smart_proxy_dynflow-0.2.4, smart_proxy_dynflow_core-0.2.3 added

Also available in: Atom PDF