Repository navigation
Rename vhc6/vsns67 clusters off the HyperCore default name - #388
Merged
Merged
Conversation
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>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Both clusters in the Indy-lab fixture (#383) reported as
"HyperCore System"since they werebuilt — the unchanged HyperCore default. Renamed 2026-10-29 at Dave's request:
https://10.6.112.64's 3-node cluster:"HyperCore System"→"vhc6"(RESTPATCH /rest/v1/Cluster, task-tag confirmedCOMPLETE).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_replicationreads the remote cluster's name live from theRemoteClusterConnectionrecord at runtime, so it's unaffected by any of this.
vm_clone__replicatedis the oneexception — it uses the static config value
sc_replication_dest_cluster_namedirectlyas its
remote_cluster:lookup key, so that value has to match reality.One gotcha found along the way: the
RemoteClusterConnectionrecord's own cachedremoteClusterInfo.clusterNamefield didn't update immediately when vsns67 was renamed — acheck ~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
GETbeforesetting
sc_replication_dest_cluster_name: "vsns67"in this PR, sovm_clone__replicatedkeeps 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.nameandsmtp.from_addressupdated to match,sc_replication_dest_cluster_nameupdated to
vsns67, plus the surrounding comments (which named the old VM names) corrected.tests/integration/cleanup/smb_cleanup.sh: cleanup folder list updated fromvsns64tovhc6to match the newci_system_name.Test plan
ci_system_name,cluster.name,sc_replication_dest_cluster_name, andsmtp.from_addressall resolve to the newvalues (done locally)
smb_cleanup.sh(done locally)integ-test.yml'scluster_name,vm_replication,vm_clone__replicatedtargets after merge to confirm nothing broke