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

Cannot send plain http traffic to a service after removing a STRICT mtls policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • maistra-0.12.0
    • maistra-0.11.0
    • galley
    • None
    • Maistra TP sprint 12

      The setup is as follows:

      Namespace "foo" has a DestinationRule that forces mutual TLS (ISTIO_MUTUAL). There's an httpbin service deployed in "foo" namespace. Namespace "legacy" has a sleep container deployed without a sidecar. The destination rule above doesn't get applied to requests originated with the "sleep.legacy" container, as there is no sidecar attached to it, and http traffic from sleep.legacy to http.foo can pass.

      When a "strict" mtls policy is created in "foo", plain http traffic from sleep.legacy to httpbin.foo will start to fail. If the policy is removed, http traffic should resume again, but in my case it did not. It took about 30 minutes to get istio in an inconsistent state. Re-adding and then removing the policy fixed the issue, no restarting of galley was needed.

      To recreate the issue:

            kconner@redhat.com Kevin Conner (Inactive)
            ddolguik-ocp Dmitri Dolguikh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: