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

HTTP Abort Routing Rule does not work as expected #19

@sakows

Description

@sakows

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions