-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix VM actions when workspace storage doesn't allow shared key access #4222
Conversation
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 2299dd1. ♻️ This comment has been updated with latest results. |
/test-extended |
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12493778693 (with refid (in response to this comment from @tamirkamara) |
Hi @tamirkamara have you seen this error when running the extended e2e before? I received the same error running error on my azurerm version upgrade PR as well… https://github.com/microsoft/AzureTRE/actions/runs/12483029966 Trying to figure out what’s causing the osdisk resource to be left over, but not had much luck so far. |
@jonnyry I don't know how but the behavior of the os disk auto delete has changed and removing the VM doesn't auto delete its disks. I checked and the relevant TF setting has existed in AzureRM 3+ so this isn't it probably... At any case, I will update this PR retest and see if it works. |
Actually, this is where it comes from: https://registry.terraform.io/providers/hashicorp/Azurerm/latest/docs/guides/features-block#skip_shutdown_and_force_delete-1 |
/test-extended |
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12495737490 (with refid (in response to this comment from @tamirkamara) |
Ah great spot thanks 🙏 |
Sorry, my fault. Does it need this? |
@marrobi No. First, that last setting is anyway set to true. Secondly, the setting you used is meant for immediate delete while keeping the resources behind to make them available for attachment to another VM. |
🤖 pr-bot 🤖 🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12495737490 (with refid (in response to this comment from @tamirkamara) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Left only one tiny comment
templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/porter.yaml
Show resolved
Hide resolved
...tes/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/linuxvm.tf
Show resolved
Hide resolved
templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml
Show resolved
Hide resolved
/test-force-approve |
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit 2299dd1) (in response to this comment from @tamirkamara) |
Resolves #4221
What is being addressed
Workspace storage that doesn't allow shared key access blocks any VM activity post initial deployment.
How is this addressed