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
Questions on running..... #80
Comments
Great questions!!
Hope this helps, please let me know if any of this doesn't make sense |
Thanks @paigerube14. I ran the deploy (kraken.yml) and the deploy worked and the pod came up but quickly crashed in python. I looked at the logs and see this. Any thoughts? Also, if it did work....is there where I would go to see the run and results?
|
I usually don't run it using the deploy; I run using a locally cloned version. I know we have been having issues using the deploy (see here: #79) we are working on trying to get a fix for that. Normally (if things worked) you would see the run and results right in the logs there that you are looking at or in the terminal, if running locally. It'll print off which scenario it is running and the results ( see below for example)
|
I think you need a requirement that allow one to add an openshift login. Something like, |
@paigerube14 it looks like you co-authored the blog i am using, https://www.openshift.com/blog/introduction-to-kraken-a-chaos-tool-for-openshift/kubernetes. I am just trying to find a simple way to use a .kubeconfig with openshift as I usually just login with the token. |
The kube config is generated a couple of ways. After install, the system:admin kubeconfig for OCP installs is in <install_dir>/auth/kubeconfig. If you are using oc login -u or oc login -t it will be in <home_dir>/.kube/config unless you are using the "oc config" command to do advanced context switching. It sounds like your issue is with getting a kube config for a separate cluster into the cluster where Kraken is running. Have you tried creating a ConfigMap with a valid kube config for the remote cluster you are trying to access with Kraken? See https://github.com/cloud-bulldozer/kraken/tree/master/containers. I would also suggest trying to run Kraken non-containerized (from a git clone) first and then migrating a working config to ConfigMaps and containers. Let me know if I am mis-understanding the issue. |
@paigerube14 and @mffiedler thank you. Trying now. |
I have it running now. It looks like it is exiting due to the cloud type in node_scenarios: It looks like the cloud can be set to aws, gcp, openstack, and azure. I have two environments I run on. The first is an ocp stood up internally and the other is the ROKS on the IBM cloud. Are these environments supported? |
@bmos299 The current supported environments include AWS, GCP, OpenStack and Azure like you mentioned: https://github.com/cloud-bulldozer/kraken/blob/master/docs/node_scenarios.md. @jaredoconnell has a PR open which adds baremetal support. There are just a couple of node scenarios like reboot/stop etc. that depends on the cloud on top of which OCP is running since they use the cloud API for the operation, the pod based scenarios, time based scenarios and a couple of node based scenarios including the node crash ( fork bomb ) and kubelet reboot can run independent of the cloud platform. Also, Litmus scenarios can also be triggered using Kraken: https://github.com/cloud-bulldozer/kraken/blob/master/docs/litmus_scenarios.md. Can you create an issue for IBM cloud when you get time please? This way it will be under our radar. |
@chaitanyaenr I see that @seanogor opened #84 . Is this the requirement you need? |
How do you enable this level of debugging, can you pass in a parameter in the cerberus/kraken configuration maps? |
The logs of the pod should print the detailed information of the run @bmos299. if not we definitely need to fix it :-) |
That would to great @seanogor, we don't have an IBM contact. |
Could you comment on the debugging I mentioned? |
@seanogor The logs have the debugging information: 1) standalone kraken run will print the logs to the stdout 2) podman/docker logs -f can be used to stream the logs in case of containerized version 3) oc/kubectl logs -f can be used to stream the logs. |
Thanks for the help. Closing. |
I have some general questions.
I want to run Kraken in an openshift cluster and point it to another cluster for the chaos testing.
Thanks.
The text was updated successfully, but these errors were encountered: