Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-158

Applying multiple gateways referencing the same hostname will cause all gateways to stop functioning

    Details

    • Type: Task
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Upstream
    • Component/s: None
    • Labels:
      None
    • SFDC Cases Counter:
    • SFDC Cases Links:

      Description

      We have a configuration where we have multiple routes for the ingress-gateway with different hostnames.
      When you accidentally create two gateways listening the same hostname, it causes that all the gateways in the mesh stop working. Even the ones which are not listening that hostname.

      For example:

      apiVersion: networking.istio.io/v1alpha3
      kind: Gateway
      metadata:
      name: foo-gateway
      spec:
      selector:
      istio: ingressgateway
      servers:

      • hosts:
      • foo.bar.com
        port:
        name: http
        number: 80
        protocol: HTTP

      and they you create new gateway with the same hostname:

      apiVersion: networking.istio.io/v1alpha3
      kind: Gateway
      metadata:
      name: foo2-gateway
      spec:
      selector:
      istio: ingressgateway
      servers:

      • hosts:
      • foo.bar.com
        port:
        name: http
        number: 80
        protocol: HTTP

      This will cause that all the gateways stops working and the ingress-gateway routes will response with http code 503.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markus-juopperi Markus Juopperi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: