Azure / Azure/azure-linux-extensions
ADE: VM does not boot after redeployment
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
There are a couple of situations where the encrypted VM will not boot after redeployment:
When the **Key Vault** is in different subscription, region or a different resource group and the short name is used instead of the full id, and also if the *Azure Disk Encryption for volume encryption* option is not enabled.
In each case the CLI will let you encrypt the VM without any warning but it will not save the secrets to the vault nor will it set the encryption settings to the VM.
If you keep the VM running on Azure you will be able to reboot it and it will come up, but if you deallocate or redeploy it, it will not be able to decrypt the disk and will not boot.
I think the CLI should catch those situations and throw an error, it should not go through with the encryption as this will result in a VM that does not boot after redeployment.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.