The issue could be fixed by adding a missing role assignment (at least "Reader") for the UserAssginedManageIdentity to the ressource group, where the AKS ressource was defined.
That was missing :-(
As usual, a stupid misconfiguration.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
The issue could be fixed by adding a missing role assignment (at least "Reader") for the UserAssginedManageIdentity to the ressource group, where the AKS ressource was defined.
That was missing :-(
As usual, a stupid misconfiguration.