Skip to content

Update cloud collections and repair provider integrations - #15085

Merged
dguido merged 2 commits into
mainfrom
codex/update-cloud-collections
Nov 12, 2026
Merged

dguido merged 2 commits into
mainfrom
codex/update-cloud-collections

Conversation

@dguido

@dguido dguido commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Several cloud roles still use fields or helpers that newer Ansible collections removed. This updates the reviewed collection and Python pins for Ansible 14 and repairs the affected provider integrations.

  • Update community.general to 14.0.0, community.crypto to 3.5.1, openstack.cloud to 2.6.0, amazon.aws to 12.1.0, google.cloud to 1.15.0, hetzner.hcloud to 7.2.0, and ngine_io.cloudstack to 3.3.0. Pin DigitalOcean to 1.27.0 and retain the reviewed Azure SDK/collection pairing.
  • Update boto3/botocore, Ruff, ty, and the Semgrep hook within the seven-day release cooldown.
  • Read OpenStack's current SDK result fields, validate images/flavors/networks before creating resources, derive the IPv4 endpoint from server addresses, and propagate teardown failures.
  • Replace the 687-line Scaleway fork with a module limited to Algo's create/start/delete operations, using public Ansible HTTP helpers and the zonal API. Support full zone names, exact-name pagination, bounded state polling, the current public_ips response, and deletion without looking up the original image.
  • Use current CloudStack module names and GCP tag_values. Load the custom module explicitly for linting and runtime checks, type-check Algo-owned modules, and install all provider SDKs in CI.
  • Add regression tests that execute real Ansible modules with SDK or HTTP service boundaries stubbed. Cover lifecycle failures, ambiguous resources, missing addresses, and credential redaction. Simplify the certificate SAN expression without changing its output.

Validation:

  • Full local Python suite: 377 passed, 35 environment-dependent skips.
  • Final module-loading, smoke, and certificate checks after the last changes: 29 passed.
  • Four deliberate provider regressions were rejected by their tests.
  • Locked dependency audit, Ruff, ty, all applicable prek hooks, Ansible syntax, actionlint, and zizmor passed.
  • Final GitHub CI passed: 381 Python tests, 32 network-runtime skips covered by the separate Docker job; all required checks green.
  • WireGuard, IPsec, and combined localhost deployment and end-to-end connectivity tests all passed on the final commit.

Cloud API regression tests use service stubs; the deployment workflow performs actual local VPN deployments and connectivity checks.

@dguido
dguido requested a review from jackivanov as a code owner November 12, 2026 21:51
Comment thread library/scaleway_instance.py Fixed
@dguido
dguido merged commit ba7dab3 into main Nov 12, 2026
14 checks passed
@dguido
dguido deleted the codex/update-cloud-collections branch November 12, 2026 22:01
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