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

2.0 istio operator 2.0 and 1.1 SMCP mixer related Policy test cases failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • maistra-2.0.0
    • maistra-2.0.0
    • None
    • None
    • MAISTRA 2.0.0

      2.0 istio operator 2.0 and 1.1 SMCP mixer related Policy test cases failed

      Mixer related Policy test cases require disablePolicyChecks: false according to the istio doc
      https://istio.io/v1.6/docs/tasks/policy-enforcement/enabling-policy/

      However, we don't see an effect in 2.0 operator 2.0 SMCP by patching smcp with

      kubectl patch smcp/basic-install --type merge -p '{"spec":{"policy":{"type": "Mixer", "mixer":{"enableChecks":true}}}}'

      The SMCP patch works fine. And SMCP spec gets updated correctly. However, the config map is not getting updated.

      $ kubectl -n istio-system get cm istio-basic-install -o jsonpath="

      {@.data.mesh}

      " | grep disablePolicyChecks returns true

      disablePolicyChecks should return false after we patched the SMCP.

      http://pastebin.test.redhat.com/913400

        1. istio_cr_2.0_default.yaml
          0.6 kB
          Yuanlin Xu
        2. istiod.log
          460 kB
          Yuanlin Xu
        3. istio-policy.log
          22 kB
          Yuanlin Xu
        4. istio-policy-mixer.log
          4 kB
          Yuanlin Xu
        5. v1.1smcp
          29 kB
          Yuanlin Xu

              yuaxu@redhat.com Yuanlin Xu
              yuaxu@redhat.com Yuanlin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: