Open johanburati opened 6 years ago
We were able to pinpoint the issue to the key vault itself, the enableForDiskEncryption option was not set.
Since this scenario leave us with a unusable VM after a redeploy, would it be possible to implement some kind of safeguard within the extension to prevent the encryption in such case ?
A customer encrypted the OS disk on a Ubuntu VM (Canonical:UbuntuServer:16.04-LTS:latest)
AzureDiskEncryptionForLinux version is 1.1.0.17
After the disk get encrypted, he rebooted the VM a few times without problem. However after he redeployed the VM, he got the following error saying it cannot find the passphrase.
Before re-deploy:
After re-deploy:
We encrypted the OS disk of a second VM using the same vault/key but the same issue occurred after redeploying the VM.