Skip to content
← Back to activity

Public problem

Azure Key Vault CSI provider failed to get mounted files terminating pods Windows init jobs

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

On AKS with the Azure Key Vault CSI provider, Windows init jobs log: FailedToCreateSecret ... failed to get mounted files, err: failed to list all files in target path. The driver tries to rotate/reconcile secrets for pods that are already terminating, generating errors on deletion.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in Secrets Store CSI driver v0.0.17 with AKV provider 0.0.10, which added checks to skip rotation and reconcile for deleting pods. Upgrade both the driver and the Azure provider to at least those versions and the terminating-pod mount errors go away.

Source: https://github.com/Azure/secrets-store-csi-driver-provider-azure/issues/268