Skip to content

Rename vhc6/vsns67 clusters off the HyperCore default name - #388

Merged
ddemlow merged 1 commit into
mainfrom
fix/vhc6-cluster-rename
Oct 29, 2026
Merged

ddemlow merged 1 commit into
mainfrom
fix/vhc6-cluster-rename

Conversation

@ddemlow

@ddemlow ddemlow commented Oct 29, 2026

Copy link
Copy Markdown
Member

Summary

Both clusters in the Indy-lab fixture (#383) reported as "HyperCore System" since they were
built — the unchanged HyperCore default. Renamed 2026-10-29 at Dave's request:

  • https://10.6.112.64's 3-node cluster: "HyperCore System" → "vhc6" (REST PATCH /rest/v1/Cluster, task-tag confirmed COMPLETE).
  • vsns67's standalone cluster: "HyperCore System" → "vsns67" (same method).

hcds separately renamed the underlying VM objects on vjb93a to match
(vsns64/vsns65/vsns68 → vhc6-1/vhc6-2/vhc6-3; addresses/UUIDs unchanged).

Why this is safe

Checked every target that touches cluster/connection names before renaming anything:
vm_replication reads the remote cluster's name live from the RemoteClusterConnection
record at runtime, so it's unaffected by any of this. vm_clone__replicated is the one
exception — it uses the static config value sc_replication_dest_cluster_name directly
as its remote_cluster: lookup key, so that value has to match reality.

One gotcha found along the way: the RemoteClusterConnection record's own cached
remoteClusterInfo.clusterName field didn't update immediately when vsns67 was renamed — a
check ~15s after the rename still showed the old name. It did pick up the new name shortly
after (exact delay not pinned down precisely). Verified propagated via a live GET before
setting sc_replication_dest_cluster_name: "vsns67" in this PR, so vm_clone__replicated
keeps working rather than breaking on a name that hadn't caught up yet.

Changes

  • tests/integration/integration_config.yml.j2: ci_system_name: vsns64 → vhc6,
    cluster.name and smtp.from_address updated to match, sc_replication_dest_cluster_name
    updated to vsns67, plus the surrounding comments (which named the old VM names) corrected.
  • tests/integration/cleanup/smb_cleanup.sh: cleanup folder list updated from vsns64 to
    vhc6 to match the new ci_system_name.

Test plan

  • Full jinja2 render + YAML parse confirms ci_system_name, cluster.name,
    sc_replication_dest_cluster_name, and smtp.from_address all resolve to the new
    values (done locally)
  • bash syntax check on smb_cleanup.sh (done locally)
  • Re-run integ-test.yml's cluster_name, vm_replication, vm_clone__replicated
    targets after merge to confirm nothing broke

Both clusters reported as "HyperCore System" (the HyperCore default) since
they were built. Renamed 2026-10-29 via REST PATCH /Cluster (task-tag
confirmed COMPLETE on each): the 3-node cluster to "vhc6", the standalone
replication target to "vsns67". hcds separately renamed the underlying VM
objects on vjb93a to match (vsns64/65/68 -> vhc6-1/2/3; addresses/UUIDs
unchanged).

sc_replication_dest_cluster_name is a static config value used directly as
vm_clone__replicated's remote_cluster lookup key (unlike vm_replication,
which reads the connection's live-reported name dynamically and so doesn't
care about this rename at all). The RemoteClusterConnection record's own
cached remoteClusterInfo.clusterName took about 15 seconds to pick up
vsns67's new name after its rename -- verified propagated via a live GET
before setting this value to "vsns67", so vm_clone__replicated keeps
working.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ddemlow
ddemlow merged commit ee57ba5 into main Oct 29, 2026
6 checks passed
@ddemlow
ddemlow deleted the fix/vhc6-cluster-rename branch October 29, 2026 12:36
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