Skip to content

async salt functions.  #138

Open
Open

Description

@whytewolf

This plugin should really support the async client/runner functions in salt-api. As currently, long-running calls are going to run into timeout issues, no matter what you set the rest_timeout to.

See https://docs.saltstack.com/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#best-practices

Activity

  1. girstenbrei commented on Mar 31, 2020

    @girstenbrei

    Correct me if I'm wrong, but it seems like this is what is happening when using blockbuild: true for the command, there is source code and a test for it.
    If this is true, maybe just some missing docs about it?

  2. mturra-Pro commented on Aug 11, 2021

    @mturra-Pro

    I launch a long orchestration with "Client Interface": runner and I get back a "504 Gateway Timeout" from cherrypy.
    Salt-api support async orchestration with client=runner_async. The plugin today doesn't have this option.
    And doesn't support salt-api events to intercept when the async job terminates.
    See: https://docs.saltproject.io/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html#best-practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions