Skip to content

Bug HA failure #468

@jp-gouin

Description

@jp-gouin

Environmental Info:
Host Cluster Version:
RKE2 v1.31.11

Host Cluster Configuration:
haos-virtual-clusters-pool1-wjp2n-s2tk6 Ready control-plane,etcd,master,worker 3d19h v1.31.11+rke2r1
chaos-virtual-clusters-pool1-wjp2n-sw7fz Ready control-plane,etcd,master,worker 3d19h v1.31.11+rke2r1
chaos-virtual-clusters-pool1-wjp2n-w26w4 Ready control-plane,etcd,master,worker 3d19h v1.31.11+rke2r1

K3K Cluster Configuration:

  • 3 server nodes
  • shared mode

Describe the bug:
If the cluster name contains - we don't handle the server deletion properly in

clusterName := s[1]

As it will not go through the whole deletion process for etcd

tlsConfig, err := p.getETCDTLS(ctx, &cluster)

It would probably be safer to rely on the label cluster on the found server pod

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions