Git Product home page Git Product logo

chaostoolkit-istio's People

Contributors

darinpope avatar lawouach avatar russmiles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chaostoolkit-istio's Issues

Issue with add_delay_fault()

Hi Team,
I am trying to run add_delay_fault() as defined under actions.py.
https://github.com/chaostoolkit-incubator/chaostoolkit-istio/blob/master/chaosistio/fault/actions.py#L184
It fails at this call : get_virtual_service under probes.py.
There is not much information available in logs.
Also I tried to go through the documentation link:
https://istio.io/docs/reference/config/istio.networking.v1alpha3/#HTTPFaultInjection-Delay
But none of the documentation links are available. It says Page NOT found.
Please help on the same.
Thanks!

add_abort_fault uses incorrect syntax

The add_abort_fault function creates the following entry in a VirtualService.

spec.http.fault.abort.percent

However, the correct entry should be:

spec.http.fault.abort.percentage.value

Add Delay chaos in Istio does not actually injects delay in the service

Hi Team,

I used chaostoolkit-istio and implemented add_delay_fault to inject delay in one of my services ( via its virtual-service). I get response code as 200 after calling add_delay_fault. Which confirms that fault is injected or delay is added. But when I call my service, I don't see any impact of delay.Service responds immediately.
Let me explain my use case.

Scenario : My micro service is deployed on IBM Cloud Kubernetes cluster ( Istio Enabled). This service has one Virtual service associated. I am running chaos-toolkit and injecting a delay (300 sec) by providing my virtual-service name in add_delay_fault function. I get a response code of 200.
My service is associated with Istio Ingress gateway. I hit my service via browser and get immediate response, no impact of delay noticed.

Please help.Thanks!

Unable to use HTTP_PROXY environment variable for proxy setting

Hi, the istio plugin doesn't provide a convenient way to set the proxy via an environement variable like HTTP_PROXY in the same way the kubernetes plugin allows.

This is the local config setup for the istio-plugin - https://github.com/chaostoolkit-incubator/chaostoolkit-istio/blob/master/chaosistio/__init__.py#L65-L69

The kubernetes plugin allows the proxy to be set from the HTTP_PROXY environment variable - https://github.com/chaostoolkit/chaostoolkit-kubernetes/blob/master/chaosk8s/__init__.py#L70-L74

Could the istio plugin use the same approach as the kubernetes plugin?

Setting the destination for fault-injection

Currently, you guys assume that the destination will have a host and a subset. However, this will not always be the case. For instance, there can be a destination like this:

route:
    - destination:
        host: web.robot-shop.svc.cluster.local
        port:
          number: 8080

In that case, the function add_delay_fault or remove_delay_fault are not going to work. Because you guys assume subset field will always be there.
I am referring to chaostoolkit-istio pip package. I am using Python3.5 and have downloaded the chaostoolkit-istio 0.1.4

issue with chaostoolkit-istio installation

Hi Team,
Hi Team, facing a challenge with chaostoolkit-istio. I added this dependency in "requirement.txt" ( Python dependency file) and tried creating docker image, it fails.
it shows below exception. However when I read the exception it doesn't show anything related to istio, rather logzero. When I remove chaostoolkit-istio dependency then image gets created successfully. Please help.. Thanks!

#11 22.90 raise InconsistentCandidate(candidate, criterion)
#11 22.90 pip._vendor.resolvelib.resolvers.InconsistentCandidate: Provided candidate LinkCandidate('https://files.pythonhosted.org/packages/b3/68/aa714515d65090fcbcc9a1f3debd5a644b14aad11e59238f42f00bd4b298/logzero-1.7.0-py2.py3-none-any.whl#sha256=23eb1f717a2736f9ab91ca0d43160fd2c996ad49ae6bad34652d47aba908769d (from https://pypi.org/simple/logzero/)') does not satisfy SpecifierRequirement('logzero~=1.5'), SpecifierRequirement('logzero'), SpecifierRequirement('logzero~=1.5.0')

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.