Sandro Bonazzola
ec807e3b3a
pycodestyle fixes: vmware_plugin.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 14:15:38 +02:00
Sandro Bonazzola
b444854cb2
pycodestyle fixes: kraken/pvc/pvc_scenario.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 13:36:16 +02:00
Sandro Bonazzola
1dc58d8721
pycodestyle fixes: ingress_shaping.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 13:20:23 +02:00
Sandro Bonazzola
6112ba63c3
plugins/run_python_plugin.py: remove unused import
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 13:20:23 +02:00
Sandro Bonazzola
155269fd9d
pycodestyle fixes: run_kraken.py
...
Other than plain style changes, introduced constants
`KUBE_BURNER_URL` and `KUBE_BURNER_VERSION`
solving the problem of having a too long string and at the same time
make it easier to bump the requirement on Kube Burner.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 10:25:59 +02:00
Sandro Bonazzola
79b92fc395
pycodestyle fixes: tests/test_ingress_network_plugin.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-05 08:47:55 +02:00
Sandro Bonazzola
ed1c486c85
pycodestyle fixes: tests/test_vmware_plugin.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 12:56:47 -04:00
Sandro Bonazzola
6ba1e1ad8b
waive bandit report on insecure random usage
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 15:57:39 +02:00
Sandro Bonazzola
3b476b68f2
pycodestyle fixes: kraken/time_actions/common_time_functions.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 15:57:39 +02:00
Sandro Bonazzola
e17ebd0e7b
pycodestyle fixes: kraken/shut_down/common_shut_down_func.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 15:44:42 +02:00
Sandro Bonazzola
d0d289fb7c
update references to github organization
...
Updated references from chaos-kubox to redhat-chaos.
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 14:38:25 +02:00
Sandro Bonazzola
66f88f5a78
pyflakes: fix imports for allowing analysis
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 14:23:11 +02:00
Sandro Bonazzola
abc635c699
server.py: change comment to pydoc
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 13:44:17 +02:00
Sandro Bonazzola
90b45538f2
pycodestyle fixes: kraken/cerberus/setup.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 06:32:46 -04:00
Sandro Bonazzola
c6469ef6cd
pycodestyle: fix server.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 09:47:41 +02:00
Sandro Bonazzola
c94c2b22a9
pycodestyle fixes: kraken/zone_outage/actions.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-02 09:15:59 +02:00
Shreyas Anantha Ramaprasad
9421a0c2c2
Added support for ingress traffic shaping ( #299 )
...
* Added plugin for ingress network traffic shaping
* Documentation changes
* Minor changes
* Documentation and formatting fixes
* Added trap to sleep infinity command running in containers
* Removed shell injection threat for modprobe commands
* Added docstrings to cerberus functions
* Added checks to prevent shell injection
* Bug fix
2022-09-02 07:54:11 +02:00
Sandro Bonazzola
8a68e1cc9b
pycodestyle fixes: kraken/kubernetes/client.py
...
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com >
2022-09-01 12:32:52 -04:00
Shreyas Anantha Ramaprasad
d5615ac470
Fixing parts of issue #185 for PVC scenario ( #290 )
...
* Created new file for dataclasses and replaced kubectl pvc cli calls
* Added checks for existence of pod/pvc
* Modified command to get pvc capacity
Removed redundant function call
2022-09-01 15:44:37 +02:00
Naga Ravi Chaitanya Elluri
5ab16baafa
Bump release version
2022-08-25 16:45:47 -04:00
Naga Ravi Chaitanya Elluri
412d718985
Fix code alignment
v1.0.1
2022-08-25 11:32:19 -04:00
Naga Ravi Chaitanya Elluri
11f469cb8e
Update install sources to use the latest release
2022-08-24 15:34:42 -04:00
Naga Ravi Chaitanya Elluri
6c75d3dddb
Add option to skip litmus installation
...
This commit adds an option for the user to pick whether to install
litmus or not depending on their use case. One use case is disconnected
environments where litmus is pre-installed insted of reaching out to the
internet.
v1.0.0
2022-08-23 14:09:10 -04:00
Paige Rubendall
f7e27a215e
Move plugin tests ( #289 )
...
* moving pytests
* adding tests folder not under CI
2022-08-19 09:23:37 -04:00
Naga Ravi Chaitanya Elluri
e680592762
Create prometheus token to use for OCP versions >=4.11
...
This commit adopts the code from https://github.com/redhat-chaos/cerberus/pull/176
to support using the existing/creating new token needed to query prometheus depending
on the OpenShift version in use.
Co-authored-by: Paige Rubendall <prubenda@redhat.com >
2022-08-16 08:07:28 -04:00
Shreyas Anantha Ramaprasad
08deae63dd
Added VMware Node Scenarios ( #285 )
...
* Added VMware node scenarios
* Made vmware plugin independent of Krkn
* Revert changes made to node status watch
* Fixed minor documentation changes
2022-08-15 23:35:16 +02:00
Sam Doran
f4bc30d2a1
Update README ( #284 )
...
* Update link to documentation
* Update container status badge and link
Use the correct link to the status badge on Quay.
2022-08-07 02:20:32 -04:00
Robert O'Brien
bbde837360
Refactor node status function
2022-08-03 16:51:49 +02:00
Robert O'Brien
5d789e7d30
Refactor client watch
2022-08-03 16:51:49 +02:00
Robert O'Brien
69fc8e8d1b
Add resource version to list node call
2022-08-03 16:51:49 +02:00
Robert O'Brien
77f53b3a23
Rework node status to use watches
2022-08-03 16:51:49 +02:00
Janos Bonic
ccd902565e
Fixes #265 : Replace Powerfulseal and introduce Wolkenwalze SDK for plugin system
2022-08-02 16:25:03 +01:00
Naga Ravi Chaitanya Elluri
da117ad9d9
Switch to python3.9
2022-07-22 16:56:47 -04:00
Janos Bonic
ca7bc3f67b
Removing cryptography pinning
...
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com >
2022-07-20 13:31:56 -04:00
Shreyas Anantha Ramaprasad
b01d9895fb
Continue fixing small parts of issue #185 ( #277 )
...
* Added dataclasses to store info retrieved from k8 client calls
* Replaced few invoke commands in common_litmus
* Minor Documentation Changes
* Removed unused import and redundant variable
Signed-off-by: Shreyas Anantha Ramaprasad <ars.shreyas@gmail.com >
2022-07-19 14:57:17 +02:00
Naga Ravi Chaitanya Elluri
bbb66aa322
Fix source to install azure-cli
...
This commit updates Krkn source Dockerfile to copy azure client binary
from the official azure-cli image instead of using package manager to
avoid dependency issues.
2022-07-18 16:21:29 -04:00
harshil-redhat
97d4f51f74
Fix installation docs with updated git repo ( #270 )
...
Signed-off-by: harshil-redhat <72143431+harshil-redhat@users.noreply.github.com >
2022-06-23 19:29:36 -04:00
Alejandro Gullón
4522ab77b1
Updating commands to get used PVC capacity and allocate file
2022-06-19 18:43:01 -04:00
STARTX
f4bfc08186
debug error message when network interface not found ( #268 )
...
Debug error occured when giving a bad network interface list
Traceback (most recent call last):
File "/root/kraken/run_kraken.py", line 318, in <module>
main(options.cfg)
File "/root/kraken/run_kraken.py", line 239, in main
network_chaos.run(scenarios_list, config, wait_duration)
File "/root/kraken/kraken/network_chaos/actions.py", line 39, in run
test_interface = verify_interface(test_interface, nodelst, pod_template)
File "/root/kraken/kraken/network_chaos/actions.py", line 111, in verify_interface
"Interface %s not found in node %s interface list %s" % (interface, nodelst[pod_index]),
TypeError: not enough arguments for format string
Signed-off-by: STARTX <clarue@startx.fr >
2022-06-14 18:33:59 -04:00
sanjacodes
9810649c62
Clean up and start figuring out CI failures
2022-06-02 09:12:19 -05:00
Naga Ravi Chaitanya Elluri
9208f39e06
Add support to run on Kubernetes
...
This commit:
- Leverages distribution flag in the config set by the user to skip
things not supported on OpenShift to be able to run scenarios on
Kubernetes.
- Adds sample config and scenario files that work on Kubernetes.
2022-06-01 07:27:06 -05:00
Paige Rubendall
23d9a26f52
adding namespace deletion using kuberenetes python client
2022-05-26 14:24:36 -05:00
Naga Ravi Chaitanya Elluri
90e1f20d50
Add support for setting performance-dashboards on Kubernetes
2022-05-25 09:45:39 -04:00
Sanja
e5fb639aa0
Remove pre-commit contributor annoyance
2022-05-18 14:13:01 -04:00
Sanja Bonic
f52f16ade8
Starts fixing small parts of issue #185
2022-05-18 20:01:59 +02:00
Janos Bonic
4401f3689a
Fixes #245 : running docker-compose for most people
2022-05-18 09:46:04 +02:00
Paige Rubendall
94909fca94
Updating unknown status for when cluster becomes disconnected
2022-05-09 10:00:22 -04:00
Janos
f632f6d7be
Throwing exceptions in Kubernetes on failure ( #248 )
2022-05-09 13:12:39 +05:30
Janos Bonic
ade0969a69
Fixes incorrect command nesting in kube_burner
2022-05-06 10:21:02 -04:00
Janos
a01fd70cc7
Workaround for paramiko/paramiko#2038
2022-05-06 09:24:44 -04:00