Skip to content

fix(compute): allow unlisted template IDs - #888

Draft
natalie-o-perret wants to merge 9 commits into
fix/template-disk-size-defaultfrom
fix/unlisted-template-ids
Draft

fix(compute): allow unlisted template IDs#888
natalie-o-perret wants to merge 9 commits into
fix/template-disk-size-defaultfrom
fix/unlisted-template-ids

Conversation

@natalie-o-perret

@natalie-o-perret natalie-o-perret commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Some valid public template IDs, including templates used by A1, are intentionally omitted from ListTemplates. Compute commands currently treat that list as an existence check and reject those IDs before the authoritative API sees them.

This change passes UUID template references directly to the create and update APIs while retaining list lookup for template names. It covers instance create/reset and instance pool create/update.

Follow-up to #882. When #882 is rebased, its size lookup must remain optional for UUIDs omitted from ListTemplates.

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block, and add the Pull Request #number for each bit you add to the CHANGELOG.md)
  • Testing

Testing

make test-verbose passed all race-enabled unit tests, including TestResolveTemplateIDPassesUUIDThrough. go test -v from tests/e2e passed all API-free scripts. make lint, go vet ./..., golangci-lint run --timeout 4m, make build, and govulncheck ./... completed successfully; govulncheck reported zero reachable vulnerabilities.


Note

AI assistance: conflict resolution, test scaffolding, PR description.

@natalie-o-perret
natalie-o-perret changed the base branch from master to fix/template-disk-size-default August 4, 2026 17:21
@natalie-o-perret
natalie-o-perret marked this pull request as draft August 4, 2026 17:29
@natalie-o-perret

Copy link
Copy Markdown
Contributor Author

[SC-191635]

…into fix/unlisted-template-ids

# Conflicts:
#	cmd/compute/instance/instance_create.go
#	cmd/compute/instance_pool/instance_pool_create.go
…into fix/unlisted-template-ids

# Conflicts:
#	cmd/compute/instance/instance_create.go
#	cmd/compute/instance_pool/instance_pool_create.go
…into fix/unlisted-template-ids

# Conflicts:
#	CHANGELOG.md
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.

1 participant