nginmesh icon indicating copy to clipboard operation
nginmesh copied to clipboard

HTTP Abort Routing Rule does not work as expected

Open sakows opened this issue 7 years ago • 0 comments

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

sakows avatar Jan 05 '18 21:01 sakows