Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

HTTP Abort Routing Rule does not work as expected #19

Open
sakows opened this issue Jan 5, 2018 · 0 comments
Open

HTTP Abort Routing Rule does not work as expected #19

sakows opened this issue Jan 5, 2018 · 0 comments

Comments

@sakows
Copy link

sakows commented Jan 5, 2018

To Reproduce, run in GCP Kubernetes cluster version 1.8.4 with alpha feature enabled:

kubectl apply -f istio-0.4.0/install/kubernetes/istio.yaml
kubectl apply -f nginmesh-0.4.0/install/kubernetes/istio-initializer.yaml
kubectl apply -f istio-0.4.0/samples/bookinfo/kube/bookinfo.yaml
istioctl create -f nginmesh-0.4.0/samples/kubernetes/addons/route-rule-http-abort.yaml
Make few requests to sample application: http://GATEWAY_URL/productpage

Expected: According to rule, based on percent defined under httpFault section in routing configuration file, client requests should get "400 Bad Request" response code for Reviews V3 service proportionally.

expected_behavior

Result: Client gets "503 Service Unavailable" response code after rule applied.
result

HTTP Abort Routing Rule documentation:
https://istio.io/docs/reference/config/traffic-rules/routing-rules.html#abort

HTTP Abort Routing Rule file:
route-rule-http-abort.yaml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants