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

Kraken app outage scenario fails to execute when pod-_selector is empty in the config file #409

Open
Noreen21 opened this issue Apr 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Noreen21
Copy link

2023-04-13 03:33:46,099 [INFO] Starting kraken
2023-04-13 03:33:46,105 [INFO] Initializing client to talk to the Kubernetes cluster
2023-04-13 03:33:47,424 [INFO] Publishing kraken status at http://0.0.0.0:8086
2023-04-13 03:33:47,425 [INFO] Publishing kraken status at http://0.0.0.0:8086
2023-04-13 03:33:47,426 [INFO] Starting http server at http://0.0.0.0:8086

2023-04-13 03:33:47,426 [INFO] Fetching cluster info
2023-04-13 03:33:47,437 [INFO] Error while reconciling 4.11.25: the cluster operator insights has not yet successfully rolled out
2023-04-13 03:33:47,437 [INFO] Server URL: https://api.e28-h35-r750.example.com:6443
2023-04-13 03:33:47,437 [INFO] Generated a uuid for the run: e1de432b-94b8-4f75-9b38-edde838ddb2d
2023-04-13 03:33:47,437 [INFO] Daemon mode not enabled, will run through 1 iterations

2023-04-13 03:33:47,437 [INFO] Executing scenarios for iteration 0
2023-04-13 03:33:47,437 [INFO] connection set up
2023-04-13 03:33:47,438 [INFO] response RUN
2023-04-13 03:33:47,438 [INFO] Injecting application outage
2023-04-13 03:33:47,441 [INFO] Creating the network policy
2023-04-13 03:33:47,510 [ERROR] Failed to run kubectl create -f kraken_network_policy.yaml -n boatload-1 --validate=false, error: Command 'kubectl create -f kraken_network_policy.yaml -n boatload-1 --validate=false' returned non-zero exit status 1.

Config file:

application_outage:                                  # Scenario to create an outage of an application by blocking traffic
  duration: 30                                      # Duration in seconds after which the routes will be accessible
  namespace: boatload-1            # Namespace to target - all application routes will go inaccessible if pod selector is empty
  pod_selector:                           # Pods to target
  block: [Ingress, Egress]                           # It can be Ingress or Egress or Ingress, Egress
@chaitanyaenr chaitanyaenr added the bug Something isn't working label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants