Project

General

Profile

Bug #10114

Allow relay-api to make asynchronous remote run call with output

Added by Vincent MEMBRÉ 10 months ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

Description

Currently we always wait for output even if we put the asynchronous parameter in the request.

Some documentation on achieving this:

https://mortoray.com/2014/03/04/http-streaming-of-command-output-in-python-flask/
http://flask.pocoo.org/docs/0.12/patterns/streaming/
https://docs.python.org/2/library/subprocess.html#subprocess.Popen


Subtasks

Bug #10136: apply policy should use asynchronous call when getting output of one nodeReleasedFrançois ARMAND

Bug #10154: Asynchronous on node behing a relay does not work quite wellReleasedBenoît PECCATTE

Associated revisions

Revision 3be2b3aa
Added by Vincent MEMBRÉ 10 months ago

Fixes #10114: Allow relay-api to make asynchronous remote run call with output

History

#1 Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 4.1.0~beta2 to 4.1.0~beta3

#2 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from New to In progress

#3 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1243

#4 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Vincent MEMBRÉ 9 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0~beta3 which was released today.

Also available in: Atom PDF