• ReferencedResourceNotFound

    ReferencedResourceNotFound

    Message NameReferencedResourceNotFound
    Message CodeIST0101
    DescriptionA resource being referenced does not exist.
    LevelError

    This message occurs when an Istio resource references another resource that doesnot exist. This will lead to errors when Istio tries to look up the referencedresource but cannot find it.

    For example, you receive this error:

    1. Error [IST0101] (VirtualService httpbin.default) Referenced gateway not found: "httpbin-gateway-bogus"

    In this example, the VirtualService refers to a gateway that does not exist:

    1. apiVersion: networking.istio.io/v1alpha3
    2. kind: Gateway
    3. metadata:
    4. name: httpbin-gateway
    5. spec:
    6. selector:
    7. istio: ingressgateway
    8. servers:
    9. - port:
    10. number: 80
    11. name: http2
    12. protocol: HTTP2
    13. hosts:
    14. - "*"
    15. ---
    16. apiVersion: networking.istio.io/v1alpha3
    17. kind: VirtualService
    18. metadata:
    19. name: httpbin
    20. spec:
    21. hosts:
    22. - "*"
    23. gateways:
    24. - httpbin-gateway-bogus # Should have been "httpbin-gateway"
    25. http:
    26. - route:
    27. - destination:
    28. host: httpbin-gateway

    To resolve this problem, look for the resource type in the detailed errormessage, correct your Istio configuration and try again.