litmuschaos / litmus-ansible Goto Github PK
View Code? Open in Web Editor NEWAnsible-based chaos experiments
License: Apache License 2.0
Ansible-based chaos experiments
License: Apache License 2.0
when run ansible-play book i got error
Unrecognized type <<class 'ansible.template.AnsibleUndefined'>> for ipwrap filter
What happened:
when we set LIB_IMAGE_PULL_POLICY policy to IfNotPresent, test case is always downloading the image.
What you expected to happen:
We want to skip the download part as image is available locally.
How to reproduce it (as minimally and precisely as possible):
Please parametrize path to tc-image.
The current implementation blocks normal use of network experiments on systems without internet access.
There is an ability to specify location of pumba image on a local repository but in the current state it will still try to download gaiadocker/iproute2
image from docker.io so that will cause an issue like following
kubectl logs pumba-netem-bmndgx -n test_ns
time="2020-07-20T11:11:42Z" level=error msg="failed to pull tc image" app=pumba error="Error response from daemon: Get https://registry-1.docker.io/v2/: read tcp x.x.x.x:x->x.x.x.x:x: read: connection reset by peer" function=github.com/sirupsen/logrus.WithError source="container/client.go:497"
time="2020-07-20T11:11:42Z" level=error msg="Error response from daemon: Get https://registry-1.docker.io/v2/: read tcp x.x.x.x:x->x.x.x.x:x: read: connection reset by peer" app=pumba function=github.com/alexei-led/pumba/pkg/container.dockerClient.NetemContainer source="container/client.go:240"
time="2020-07-20T11:11:42Z" level=error msg="failed to start netem for container" app=pumba error="Error response from daemon: Get https://registry-1.docker.io/v2/: read tcp x.x.x.x:x->x.x.x.x:x: read: connection reset by peer" function=github.com/sirupsen/logrus.WithError source="netem/netem.go:27"
FEATURE REQUEST
What happened:
Observed that current experiments are written with kubectl commands embedded in the shell commands. Recommend replacing it with Ansible modules for kubernetes. Eg: https://docs.ansible.com/ansible/latest/modules/k8s_module.html#synopsis
What you expected to happen:
If modules are embedded in the image, easier development process for new experiments as well as cleaner ansible code.
How to reproduce it (as minimally and precisely as possible):
Source Code analysis
Anything else we need to know?:
It is a recommendation. Would be happy to take up and convert the existing scripts to include modules and bake it into the image as well.
What happened:
CoreDNS pod delete experiment fails with litmus 1.13.8. I am using the litmuschaos/ansible-runner:1.13.8
image
What you expected to happen:
Experiment should run successfully.
How to reproduce it (as minimally and precisely as possible):
Use litmus 1.13.8 release and run CoreDNS pod delete experiment
Anything else we need to know?:
It fails because probeSuccessPercentage is not defined in the ansible_logic yaml file. Whereas, the generic pod delete experiment runs successfully as the variable is defined there.
Another thing is, community.kubernetes.k8
is depricated which is why it throws an error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.