chaostoolkit-kubernetes
chaostoolkit-kubernetes copied to clipboard
Drain Node Error
Receive the following error when running drain_nodes function.
`failed: TypeError: Got an unexpected keyword argument 'include_uninitialized' to method list_pod_for_all_namespaces'
Installed chaostoolkit-kubernetes using pip3 with Python 3.7.4. Using version chaostoolkit version 1.2.0
Below is the action I'm using:
39 │ "method": [
40 │ {
41 │ "type": "action",
42 │ "name": "drain_node",
43 │ "provider": {
44 │ "type": "python",
45 │ "module": "chaosk8s.node.actions",
46 │ "func": "drain_nodes",
47 │ "arguments": {
48 ~ │ "name": "aks-agentpool-24917760-1"
49 │ }
50 │ }
51 │ }
52 │ ],
Apologize for not being able to get on this straight away. Spent the last few days working on run loop testing stability issues, and now Thanksgiving.
I suspect I have another day of testing work to do.
@dbashford no problem - I'm off for a long holiday weekend myself. I wanted to revert so new developers who might pick this up over the break have a stable/solid version to work with. I'm certain we will find out why this didn't work but to avoid rushing you (and keep the addon truly stable) I think it's best we revert until we know more about this corner case.
Hi,
Sorry for being so long to respond. The API had indeed changed and it's been fixed in master but it's not released it yet. I should be releasing this week a new version of that's fine?
This has now been released. Could you please try and let us know if it solved the pb?