Project

General

Profile

Actions

Task #4688

closed

Fix the foreman ansible callback to run asynchronously

Added by Andrea Dell'Amico almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
System Application
Target version:
Start date:
Jul 08, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

The ansible callback that post data to foreman is synchronous, and each POST action needs 20/30 second for each involved host.

This is a too much overhead when a large inventory is involved.


Files

foreman_callback.py (7.37 KB) foreman_callback.py Andrea Dell'Amico, Jul 08, 2016 02:56 PM
foreman_callback.py.diff (1.2 KB) foreman_callback.py.diff Andrea Dell'Amico, Jul 08, 2016 02:57 PM
Actions #1

Updated by Andrea Dell'Amico almost 9 years ago

  • File foreman_callback.py added
  • Status changed from New to In Progress
  • Assignee changed from _InfraScience Systems Engineer to Sandro La Bruzzo
  • % Done changed from 0 to 90

Thanks to @sandro.labruzzo@isti.cnr.it we have a new callback with a much lesser overhead.

Actions #2

Updated by Andrea Dell'Amico almost 9 years ago

  • File deleted (foreman_callback.py)
Actions #4

Updated by Andrea Dell'Amico almost 9 years ago

The diff file against the old version.

Actions #5

Updated by Andrea Dell'Amico almost 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)