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

kill_microservice not working correctly #51

Open
gilles537 opened this issue Aug 30, 2019 · 3 comments
Open

kill_microservice not working correctly #51

gilles537 opened this issue Aug 30, 2019 · 3 comments

Comments

@gilles537
Copy link

similar to #42

Code:

"type": "action",
            "name": "stop-provider-service",
            "provider": {
                "type": "python",
                "module": "chaosk8s.actions",
                "func": "kill_microservice",
                "arguments": {
                    "name": "my-provider-app"
                }

Output:

[2019-08-30 09:40:44 ERROR]   => failed: TypeError: delete_namespaced_deployment() takes 3 positional arguments but 4 were given

I got this code from the Sample github but the kill_microservice function does not seem to be working correctly.

@Lawouach
Copy link
Contributor

Thanks for the report. I'm going to have a look asap.

@Lawouach
Copy link
Contributor

Lawouach commented Sep 2, 2019

Indeed this is an issue because the Kubernetes client switched from all positional to some args to be key based. This was fixed in master of the extension.

I will do my best to release a new version this week.

@Lawouach
Copy link
Contributor

Lawouach commented Sep 5, 2019

This has now been released. Could you please try and let us know if it solved the pb?

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

2 participants