Skip to content
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 unable to delete Guacamole VM in stopped state #4203

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

marrobi
Copy link
Member

@marrobi marrobi commented Dec 17, 2024

Fixes #4135

Add skip_shutdown_and_force_delete configuration to Guacamole VM templates to fix deletion issue.

  • Modify main.tf files in templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm/terraform, guacamole-azure-import-reviewvm/terraform, guacamole-azure-linuxvm/terraform, and guacamole-azure-windowsvm/terraform to include skip_shutdown_and_force_delete = true under the virtual_machine block in the features section.
  • Update porter.yaml files in templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm, guacamole-azure-import-reviewvm, guacamole-azure-windowsvm, and guacamole-azure-linuxvm to increment the version numbers.
  • Update CHANGELOG.md to include the fix for the deletion issue.

For more details, open the Copilot Workspace session.

Fixes #4135

Add `skip_shutdown_and_force_delete` configuration to Guacamole VM templates to fix deletion issue.

* Modify `main.tf` files in `templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm/terraform`, `guacamole-azure-import-reviewvm/terraform`, `guacamole-azure-linuxvm/terraform`, and `guacamole-azure-windowsvm/terraform` to include `skip_shutdown_and_force_delete = true` under the `virtual_machine` block in the `features` section.
* Update `porter.yaml` files in `templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm`, `guacamole-azure-import-reviewvm`, `guacamole-azure-windowsvm`, and `guacamole-azure-linuxvm` to increment the version numbers.
* Update `CHANGELOG.md` to include the fix for the deletion issue.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4135?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 72bc099.

@marrobi marrobi enabled auto-merge (squash) December 17, 2024 13:44
@marrobi marrobi requested a review from tamirkamara December 17, 2024 13:45
@marrobi
Copy link
Member Author

marrobi commented Dec 17, 2024

/test-force-approve

Not tested

Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 72bc099)

(in response to this comment from @marrobi)

Copy link
Collaborator

@tim-p-allen tim-p-allen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marrobi marrobi merged commit beea683 into main Dec 17, 2024
13 checks passed
@marrobi marrobi deleted the marrobi/fix-guacamole-vm-deletion branch December 17, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to delete a Guacamole User Resource if it is in the 'stopped' state
3 participants