Project

General

Profile

Actions

Feature #17514

closed

Job invocations should happen asynchronously

Added by Adam Ruzicka over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1386270

Description of problem:

Customer needs to run many long-running job invocations at the same time on multiple machines.

These machines are located in a network with low bandwidth, so keeping many connections alive isn't possible as some jobs could take a long time (e.g: reposync, yum update).

These connections waste resources on the client hosts which are not very powerful machines.

This could be implemented by having another provider different to SSH or possibly by making ssh run the job and return right away (the capsule could check the status of the job somehow)

Additional info:

Currently they are running their own custom remote execution scripts which use Ansible core libraries to make calls asynchronously and poll for the status of the execution. The solution provided by Satellite does not necessarily have to poll for the status but it would need to provide a way to check it's status.


Related issues 2 (0 open2 closed)

Related to Foreman Remote Execution - Bug #20377: Provide features required by async-ssh in smart_proxy_dynflow_coreClosedAdam Ruzicka07/21/2017Actions
Related to foreman-tasks - Bug #20376: Provide features required by async-ssh in foreman-tasks-coreClosedAdam Ruzicka07/21/2017Actions
Actions #1

Updated by Adam Ruzicka over 7 years ago

  • Target version set to 113
Actions #2

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/smart_proxy_dynflow/pull/33 added
Actions #3

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/249 added
Actions #4

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/32 added
Actions #5

Updated by Ivan Necas almost 7 years ago

  • Target version changed from 113 to 1.14.2
Actions #6

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/33 added
Actions #7

Updated by Adam Ruzicka almost 7 years ago

  • Pull request deleted (https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/33)

Removing wrong PR

Actions #8

Updated by Adam Ruzicka over 6 years ago

  • Related to Bug #20377: Provide features required by async-ssh in smart_proxy_dynflow_core added
Actions #9

Updated by Adam Ruzicka over 6 years ago

  • Related to Bug #20376: Provide features required by async-ssh in foreman-tasks-core added
Actions #10

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF