Skip to content

3.6 fix cloud ref accuracy#22764

Open
tmihoc wants to merge 2 commits into
juju:3.6from
tmihoc:3.6-fix-cloud-ref-accuracy
Open

3.6 fix cloud ref accuracy#22764
tmihoc wants to merge 2 commits into
juju:3.6from
tmihoc:3.6-fix-cloud-ref-accuracy

Conversation

@tmihoc

@tmihoc tmihoc commented Jun 30, 2026

Copy link
Copy Markdown
Member

#22577 made significant improvements to the structure and content of our cloud reference docs in 3.6, but while porting the changes to 4.0 (#22765) I discovered technical correctness issues -- this PR ports them back into 3.6.

tmihoc added 2 commits June 30, 2026 20:18
Audit of internal/provider/* against the cloud reference docs
revealed the following discrepancies, now corrected:

amazon-ec2:
- Remove allocate-public-ip from constraints (unsupported)
- Remove virt-type from constraints (unsupported)
- Add arch to instance-type conflict note; add resolver caveat
  (arch + instance-type allowed when architectures match)

google-gce:
- Remove arch from instance-type conflict list (arch is not
  in RegisterConflicts for GCE; container/cores/cpu-power/mem are)

microsoft-azure:
- Add arm64 to arch constraint valid values (RegisterVocabulary
  includes both amd64 and arm64)
- Add StandardSSD_LRS as the actual default account-type for the
  azure storage provider (previously only Standard_LRS and
  Premium_LRS were listed)

openstack:
- Add access-key authentication type (ec2-compatible endpoints)

oracle-oci:
- Mark region credential attribute as optional, not required
  (deprecated field, kept for backward compatibility only)

vmware-vsphere:
- Correct disk-provisioning-type valid values: thin, thick (default),
  thick-lazy-zero. The value thickEagerZero does not exist in the
  vsphereclient code; thick-lazy-zero was undocumented
Add a 'Verifying constraint accuracy against code' sub-section to the
'Adding a new cloud' workflow. Describes the 5-step check against
unsupportedConstraints, RegisterConflicts, RegisterVocabulary,
RegisterConflictResolver, and silent-ignore detection.

Also add a changelog entry recording the corrections made in the
2026-06-30 code accuracy audit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants