Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions issue with log Analytics Workspace During Istio Upgrade #4654

Open
ngemi-bread opened this issue Nov 14, 2024 · 3 comments
Open

Comments

@ngemi-bread
Copy link

We encountered a permissions issue during an Istio upgrade on a cluster connected to a Log Analytics Workspace. The issue occurred when a user without sufficient access right attempted the upgrade. Despite not actively trying to modify or interact with the workspace, it seems the upgrade process requires access to the workspace.

This behavior was unexpected, as we didn't anticipate that the workspace permissions would impact the Istio upgrade process.

Additional Context
The Log Analytic Workspace is a shared enterprise resource and reside in a separate resource group from the AKS cluster. This separation likely contributed to the permission issue, as the workspace has different access control from those in the AKS resource group.

Missing Permission
The missing permission was Microsoft.OperationalInsights/workspace/write, and the scope was the Log Analytics Workspace.

Steps to Reproduce

  1. Initiate the AKS mesh upgrade to the desire ASM version: az aks mesh upgrade start --resource-group --name --revision asm-1-22
  2. Note: Ensure your cluster has container insight enable
Copy link
Contributor

@azure/aks-traffic would you be able to assist?

@biefy biefy added the Upgrade label Nov 16, 2024
Copy link
Contributor

@kaarthis, @sdesai345 would you be able to assist?

@nshankar13
Copy link

@ngemi-bread what is the exact error you are seeing?

Also, is this happening only for Istio upgrade commands - i.e are other cluster / addon update commands succeeding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants