AKS cost-analysis-agent pod cannot attach pvc
Chalvatzis, Michael
0
Reputation points
We see the following K8s event:
Note: AttachVolume.Attach failed for volume "pvc-xxxxxxxx" : rpc error: code = Internal desc = Attach volume /subscriptions/xxxxxxxx/resourceGroups/xxxxxxx-aksmanaged/providers/Microsoft.Compute/disks/pvc-xxxxxxxx to instance aks-sys-xxxxxxxx-vmss000000 failed with PUT http://localhost:7788/subscriptions/xxxxxxx/resourceGroups/xxxxxxx-aksmanaged/providers/Microsoft.Compute/virtualMachineScaleSets/aks-sys-xxxxxxxx-vmss/virtualMachines/0
RESPONSE 403: 403 Forbidden ERROR CODE: LinkedAuthorizationFailed
{ "error": { "code": "LinkedAuthorizationFailed", "message": "The client 'xxxxxxx' with object id 'xxxxxxx' has permission to perform action 'Microsoft.Compute/virtualMachineScaleSets/virtualMachines/write' on scope /subscriptions/xxxxxxxx-f8f7-4b
Question: How can we see the full "error" message? The interesting part is cut and we cannot evaluate the real problem
Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Sign in to answer