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

[Istio maistra 09] Policy Task "Denials and White/Black Listing" is not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • maistra-0.9.0
    • pilot

      The Istio task: Denials and White/Black Listing

      We didn't get the expected review-v3 denial after applying the mixer-rule-deny-label.yaml
      We didn't get the expected productpage no starts without logging in after applying attributed-based whilte/black lists.
      We didn't get the expected produtpage error message "PERMISSION_DENIED:staticversion.istio-system:<your mesh source ip> is not whitelisted" after applying IP-based white/black lists.

      In previous TP8, this task shows a long delay time for applying each configuration. However, we can see the expected review-v3 denial and productpage no starts without logging in results after sleeping 90 seconds.
      In TP9, all these three sub tasks are not working as expected.

      Build: istio maistra-0.9.0
      Environment: OCP 3.11
      OCP console: https://tmor2-master.bc.jonqe.lab.eng.bos.redhat.com:8443/console/catalog

      Test steps: https://preliminary.istio.io/docs/tasks/policy-enforcement/denial-and-list/
      Test script: https://gitlab.cee.redhat.com/istio/istio-tasks-test-tools/blob/master/tests/TC_20_Denials_White_Black_Listing.sh

      Results:
      After applying denial, productpage still shows review-v3 red stars without logging in.
      After applying white/black list, productpage still shows review-v3 red stars without logging in.
      After applying ip-based white/black list, productpage still shows review-v3 red stars.

              kconner@redhat.com Kevin Conner (Inactive)
              yuaxu@redhat.com Yuanlin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: