krkn-chaos / krkn

Chaos and resiliency testing tool for Kubernetes with a focus on improving performance under failure conditions. A CNCF sandbox project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need to add configmaps for sub folders in scenarios when running in containerized mode

paigerube14 opened this issue · comments

The current scenarios configmap that gets created in these instructions does not properly add the sub-folders under it so the scenario files are not able to run.

We need to add new configmaps for the openshift and kube folders
https://github.com/redhat-chaos/krkn/blob/main/containers/kraken.yml#L23

Config map scenarios Data only shows the files in the base folder
plugin.schema.json
disk_fill.yaml
pod_network_latency.yaml
pod_scenario_template.yaml

2022-10-06 13:12:40,647 [INFO] response RUN
2022-10-06 13:12:40,647 [INFO] Running container scenarios
_ _
| | ___ __ __ _| | _____ _ __
| |/ / '__/ _` | |/ / _ \ '_ \
| <| | | (_| | < __/ | | |
|_|\_\_| \__,_|_|\_\___|_| |_|
Traceback (most recent call last):
File "/root/kraken/run_kraken.py", line 429, in <module>
main(options.cfg)
File "/root/kraken/run_kraken.py", line 219, in main
pod_scenarios.container_run(
File "/root/kraken/kraken/pod_scenarios/setup.py", line 76, in container_run
with open(container_scenario_config[0], "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'scenarios/openshift/container_etcd.yml'