Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async salt functions. #138

Open
whytewolf opened this issue Aug 6, 2019 · 2 comments
Open

async salt functions. #138

whytewolf opened this issue Aug 6, 2019 · 2 comments

Comments

@whytewolf
Copy link

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

@girstenbrei
Copy link

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?

@mturra-Pro
Copy link

mturra-Pro commented Aug 11, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants