Skip to content

Align Guacamole Windows VM image schema/defaults with supported image options#4970

Merged
rudolphjacksonm merged 2 commits into
mainfrom
copilot/fix-vm-installation-issues
Jul 14, 2026
Merged

Align Guacamole Windows VM image schema/defaults with supported image options#4970
rudolphjacksonm merged 2 commits into
mainfrom
copilot/fix-vm-installation-issues

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

What is being addressed

Guacamole Windows user-resource installs can fail with The given key does not identify an element in this collection value. when os_image values from template_schema.json do not exist in porter.yaml custom.image_options.
This affected the Windows VM template and the Windows-based import/export review VM templates.

How is this addressed

  • Schema/Image key alignment

    • Updated os_image.enum values to match actual custom.image_options keys in:
      • guacamole-azure-windowsvm/template_schema.json
      • guacamole-azure-import-reviewvm/template_schema.json
      • guacamole-azure-export-reviewvm/template_schema.json
  • Default value alignment

    • Updated stale os_image defaults in review VM bundles to a supported key:
      • guacamole-azure-import-reviewvm/porter.yaml
      • guacamole-azure-export-reviewvm/porter.yaml
  • Template versioning + metadata

    • Bumped bundle versions:
      • tre-service-guacamole-windowsvm: 1.4.51.4.6
      • tre-service-guacamole-import-reviewvm: 0.4.50.4.6
      • tre-service-guacamole-export-reviewvm: 0.3.60.3.7
    • Updated Windows VM bundle description to reflect current supported server image.
  • Documentation/release notes

    • Added unreleased CHANGELOG.md bug-fix entry for image selection alignment across Windows/review VM templates.
// template_schema.json (before)
"enum": ["Server 2019 Data Science VM", "Server 2022 Data Science VM"]

// template_schema.json (after)
"enum": ["Windows Server 2025"]

Copilot AI changed the title [WIP] Fix installation failure for Data Science VM images Align Guacamole Windows VM image schema/defaults with supported image options Jul 14, 2026
Copilot AI requested a review from marrobi July 14, 2026 18:01
@jonnyry
jonnyry self-requested a review July 14, 2026 18:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes Guacamole Windows user-resource deployment failures caused by mismatched os_image schema values/defaults versus the custom.image_options keys used by the Porter bundles, ensuring image selection maps to a valid option.

Changes:

  • Align os_image.enum values in the Windows VM and import/export review VM template_schema.json files to match the Porter bundle custom.image_options keys (now using Windows Server 2025 instead of removed DSVM keys).
  • Update stale os_image defaults in the import/export review VM porter.yaml bundles to Windows Server 2025.
  • Bump bundle versions and add an unreleased CHANGELOG.md bug-fix entry documenting the correction.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/template_schema.json Updates os_image enum to remove unsupported DSVM entries and keep schema aligned with bundle image options.
templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/porter.yaml Bumps bundle version and updates description to reflect current supported Windows Server image.
templates/workspace_services/guacamole/user_resources/guacamole-azure-import-reviewvm/template_schema.json Aligns os_image enum to the supported image option key.
templates/workspace_services/guacamole/user_resources/guacamole-azure-import-reviewvm/porter.yaml Bumps version and updates os_image default to a supported key.
templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm/template_schema.json Aligns os_image enum to the supported image option key.
templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm/porter.yaml Bumps version and updates os_image default to a supported key.
CHANGELOG.md Adds an unreleased bug-fix entry documenting the image selection/schema/default alignment fix.

@marrobi
marrobi marked this pull request as ready for review July 14, 2026 18:50
@marrobi
marrobi requested a review from a team as a code owner July 14, 2026 18:50
@marrobi

marrobi commented Jul 14, 2026

Copy link
Copy Markdown
Member

/test-force-approve 2cbb294

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 2cbb294)

(in response to this comment from @marrobi)

@rudolphjacksonm rudolphjacksonm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@rudolphjacksonm
rudolphjacksonm enabled auto-merge (squash) July 14, 2026 18:53
@rudolphjacksonm

Copy link
Copy Markdown
Collaborator

/test-force-approve

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 2cbb294)

(in response to this comment from @rudolphjacksonm)

@SvenAelterman SvenAelterman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@github-actions

Copy link
Copy Markdown

Unit Test Results

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

Results for commit 2cbb294.

@rudolphjacksonm
rudolphjacksonm merged commit 74c11a0 into main Jul 14, 2026
15 checks passed
@rudolphjacksonm
rudolphjacksonm deleted the copilot/fix-vm-installation-issues branch July 14, 2026 19:08
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.

Cannot install VM with 'Server 2019 Data Science VM' or 'Server 2022 Data Science VM' image

6 participants