Giter Club home page Giter Club logo

Comments (4)

bmos299 avatar bmos299 commented on June 6, 2024

Hi @paigerube14 can we get your thoughts on this one?

from krkn.

paigerube14 avatar paigerube14 commented on June 6, 2024

Are you able to post the config file you are using?

It seems like it's not trying to execute your scenario. Even if you are running the pod scenario and no pods match you would be getting output like the following; not what you are seeing so I am a little confused.


2021-04-13 10:33:10,001 [INFO] Executing scenarios for iteration 0
2021-04-13 10:33:14 INFO __main__ verbosity: None; log level: INFO; handler level: INFO
2021-04-13 10:33:14 INFO __main__ Creating kubernetes client with config /Users/prubenda/.kube/config from --kubeconfig flag
2021-04-13 10:33:14 INFO k8s_client Initializing with config: /Users/prubenda/.kube/config
2021-04-13 10:33:14 INFO __main__ No cloud driver - some functionality disabled
2021-04-13 10:33:14 INFO __main__ Using stdout metrics collector
2021-04-13 10:33:14 INFO __main__ NOT starting the UI server
2021-04-13 10:33:14 INFO __main__ STARTING AUTONOMOUS MODE
2021-04-13 10:33:17 INFO scenario.delete openshif Starting scenario 'delete openshift-apiserver pods' (2 steps)
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matching 'labels' {'labels': {'namespace': 'openshift-apiserver', 'selector': 'app=openshift-apiserver'}}
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matched 0 pods for selector app=openshift-apiserver in namespace openshift-apiserver
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Initial set length: 0
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matching 'labels' {'labels': {'namespace': 'openshift-apiserver', 'selector': 'app=openshift-apiserver'}}
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Matched 0 pods for selector app=openshift-apiserver in namespace openshift-apiserver
2021-04-13 10:33:17 INFO action_nodes_pods.delete openshif Initial set length: 0
2021-04-13 10:33:17 INFO scenario.delete openshif Scenario finished
2021-04-13 10:33:17 INFO policy_runner All done here!

from krkn.

kmlefebv avatar kmlefebv commented on June 6, 2024

Here's the Kraken config.yaml file:

kraken:
    kubeconfig_path: /root/.kube/config                    # Path to kubeconfig
    exit_on_failure: False                                 # Exit when a post action scenario fails
    litmus_version: v1.10.0                                # Litmus version to install
    litmus_uninstall: False                                # If you want to uninstall litmus if failure
    chaos_scenarios:                                       # List of policies/chaos scenarios to load
        -   pod_scenarios:                                 # List of chaos pod scenarios to load
            - -    scenarios/openshift-apiserver.yml

cerberus:
    cerberus_enabled: False                                # Enable it when cerberus is previously installed
    cerberus_url:                                          # When cerberus_enabled is set to True, provide the url where cerberus publishes go/no-go signal

performance_monitoring:
    deploy_dashboards: False                              # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
    repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"

tunings:
    wait_duration: 60                                      # Duration to wait between each chaos scenario
    iterations: 1                                          # Number of times to execute the scenarios
    daemon_mode: True                                     # Iterations are set to infinity which means that the kraken will cause chaos forever

I should mention that we received a similar output when we used the default config.yaml as well without the node scenarios.

Right now we are only using the openshift-apiserver.yml scenario and we are currently using the default version of that file. Are there any extra steps that aren't listed in the README KubeApp section that we need to perform?

The output I posted in the original comment is from the pod log of the kraken deployment on the ocp console.

from krkn.

mffiedler avatar mffiedler commented on June 6, 2024

Fixed by #86

from krkn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.