Skip to content

kmeshctl authz can't trigger offload authorization enable #1207

@YaoZengzeng

Description

@YaoZengzeng

What happened:

I tried to write a E2E test for offload authorization #641, but it would fail sometimes.

For the failed case, it seems that kmeshctl authz can never trigger the offload authorizaiton unless Kmesh is reinstalled.

What you expected to happen:

kmeshctl authz should always work fine.

How to reproduce it (as minimally and precisely as possible):

root@dev:~/kmesh# ./test/e2e/run_test.sh --skip-install-dep --skip-build -run "TestAuthorizationL4"

Based on PR #641 , continue to run the above command, which is used to reinstall Kmesh and run TestAuthorizationL4. When the test case failed, the environment can no longer use kmeshctl authz to trigger offload authorization.

Anything else we need to know?:

Environment:

  • Kmesh version:
  • Kmesh mode(kmesh has Kernel-Native Mode and Duel-Engine Mode):
  • Istio version:
  • Kernel version:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions