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

Make sure we use the "instance" kwarg in cloud.action. #30691

Merged
merged 2 commits into from Jan 29, 2016

Conversation

rallytime
Copy link
Contributor

Fixes #29602

Related to #30217.

In #30217, the original stacktrace as reported in #29602 was fixed in regards to cloud/__init__.py handling kwargs in action calls, but using instance=my-instance provider=my-provider with the cloud runner also didn't work, as "instance" was never used in the cloud runner action function. This PR fixes using "instance" and also provides helpful error logging information when the incorrect parameters are used in combination. Namely, you can't use an instance with a list of names together or instance/names combined with a provider.

ping @techhat and @pass-by-value

@rallytime rallytime changed the title Make sure we just the "instance" kwarg in cloud.action. Make sure we use the "instance" kwarg in cloud.action. Jan 28, 2016
@rallytime
Copy link
Contributor Author

Go Go Jenkins!

cachedout pushed a commit that referenced this pull request Jan 29, 2016
Make sure we use the "instance" kwarg in cloud.action.
@cachedout cachedout merged commit 5ca75fb into saltstack:2015.8 Jan 29, 2016
@rallytime rallytime deleted the cloud-action-instance branch January 29, 2016 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants