Skip to content

CI: point integ-test at the Indy-lab failover fixture - #383

Merged
ddemlow merged 1 commit into
mainfrom
fix/indy-lab-ci-fixture
Oct 29, 2026
Merged

ddemlow merged 1 commit into
mainfrom
fix/indy-lab-ci-fixture

Conversation

@ddemlow

@ddemlow ddemlow commented Oct 29, 2026

Copy link
Copy Markdown
Member

Summary

PUB5/XLab (10.5.11.x) went unreachable ~2026-10-27 — the same outage that took down
terraform-provider-hypercore's self-hosted CI. integ-test.yml is currently
disabled_manually on GitHub as a result.

This repoints the two CI-policy-required hosts (hypercore-ci-fleet's last-two-Standard-lines
policy) at a new Indy-lab fixture built by hcds on vjb93a:

  • https://10.6.112.64 — 3-node 9.6.32 cluster (vsns64/65/68). Also the multi-node test
    target, and the replication source, now paired by hand via the HyperCore web UI to
    vsns67 (confirmed via GET /rest/v1/RemoteClusterConnection on .64:
    connectionStatus: ESTABLISHED, replicationOK: true). This pairing restores real
    coverage for vm_replication / vm_replication_info / vm_clone__replicated /
    remote_cluster_info — all existing, already-released modules, no new code.
  • https://10.6.42.19 — existing vsns19, reused as the 9.5.10 slot (no new build needed).

Every 10.5.11.x reference is commented out in place, not deleted, so it's a one-line
uncomment away once PUB5/XLab comes back. Full restore procedure (including how to revert
the SMB fields) is tracked in hypercore-ci-fleet's
local/ci-failover-2026-10-28/PUB5_ORIGINAL_CONFIG.md (gitignored there — ask Dave).

This branch intentionally does NOT include the experimental /rest/v2
remote_cluster_connection module work
— that stays on a separate, private branch for now.
Everything here uses existing, already-public modules and REST v1.

Also fixed while touching these files (environmental, not new bugs from this change):

  • SMB repointed from the dead 10.5.11.39 to 10.6.42.5, the shared Indy-lab server
    terraform-provider-hypercore's CI already proved working for a real SMB import.
  • integ-physical's test_names had a quote typo ('vm_replication_info", single-open
    double-close) that broke fromJson() in z_ansible-test.yml. Per git log -S, this
    landed in b9a0f30 and predates the outage — replication/support_tunnel coverage there
    was already failing at matrix generation, not something this outage broke.
  • examples-run's credential lookup was hardcoded to the "https://10.5.11.200" config key
    regardless of which host the job actually configured. Only worked by coincidence because
    every vsns2xx block shares admin/admin. Fixed to read the host it actually set.
  • version_update_info/version_update_status_info are NOT in the default exclude list, and
    unlike every 10.5.11.x host (which times out to an empty update list), these two new hosts
    return real, non-empty update offers — so their features.version_update.next_version /
    latest_version needed real values, computed the same way version_update_info.py itself
    sorts (records[0]/records[-1] by majorVersion, minorVersion, revision, buildID).
  • smb_cleanup.sh's hardcoded cleanup folder list didn't know about the new ci_system_names.

Checked and NOT changed: ansible-test.yml (sanity/units, GitHub-hosted) is also
disabled_manually, but ci-test.yml already covers the same ground and is active — so
ansible-test.yml looks superseded rather than a gap worth re-enabling.

Needs from Dave

  1. A new secret — done: CI_CONFIG_INDY_SMB_PASSWORD is set.
  2. vsns19 needs protecting from the fleet-matrix power script — hypercore-ci-fleet's
    vfz31_power.sh powers off every vSNS node not on its keep-on list by design, and
    vsns19 isn't on it. The next fleet matrix run would dark this node and the nightly
    GitHub run would see ~44 failures that look like a dead node, not a powered-off one.
  3. Merge this PR, then gh workflow enable integ-test.yml, then a scoped dispatch run
    (e.g. integ_tests_include: '^cluster_info$') before trusting the full nightly.

Test plan

  • Full jinja2 render + YAML parse of integration_config.yml.j2 passes (done locally,
    both new host blocks resolve correctly, confirmed no experimental module content
    leaked in)
  • integ-test.yml / make-integ-config/action.yml YAML parses (done locally)
  • smb_cleanup.sh bash syntax check (done locally)
  • Live confirmation that 10.6.112.64/10.6.42.19 report the version/update/drive
    values recorded in the config comments (done via direct REST calls against both hosts,
    2026-10-29)
  • A real dispatch run once vsns19 is protected from the power script

PUB5/XLab (10.5.11.x) went unreachable ~2026-10-27, the same outage that took
down terraform-provider-hypercore's CI. This repoints the two required hosts
(hypercore-ci-fleet's last-two-Standard-lines policy) at a new Indy-lab
fixture built by hcds on vjb93a:

- https://10.6.112.64: 3-node 9.6.32 cluster (vsns64/65/68), also the
  replication source now paired by hand to vsns67 via the HyperCore web UI
  (the existing RemoteClusterConnection REST API needs 9.7.0 on both sides;
  these are 9.6.32, so this pairing was done manually, not via automation).
- https://10.6.42.19: existing vsns19, reused as the 9.5.10 slot.

This restores real coverage for vm_replication / vm_replication_info /
vm_clone__replicated / remote_cluster_info against the live pairing above,
using the existing modules those targets already call - no new module code
involved.

Also: SMB repointed from the dead 10.5.11.39 to the shared 10.6.42.5 server
already proven working by terraform-provider-hypercore's CI; fixed a
pre-existing quote typo in integ-physical's test_names that broke
fromJson() (predates this outage); fixed examples-run's host-credential
lookup, which was hardcoded to the .200 key regardless of which host it
actually configured. Every 10.5.11.x reference is commented out in place,
not deleted, for when that hardware returns.

Needs a new CI_CONFIG_INDY_SMB_PASSWORD secret before vm_export/vm_import/
smb_cleanup will pass - everything else runs without it.
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