VxRAIL Manager VM shows remote connectivity lost
search cancel

VxRAIL Manager VM shows remote connectivity lost

book

Article ID: 419620

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • When logged into the vSphere Client, VxRail manager shows "ALARM remote connecitivity lost"
  • The following output is seen when running any kubectl commands on VxRail Manager:
    error: You must be logged in to the server (Unauthorized)

  • This is not seen when loading the kubeconfig from the rke2 YAML file: /etc/rancher/rke2/rke2.yaml
    kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml -n helium get nodes

  • This error is also seen when running the remove node option in the script dell_node_replacement.py:
    Failed to clean redis!\error: You must be logged in to the server (Unauthorized) error: pod, type/name or --filename must be specified

Environment

VCF on VxRail

Cause

rke2 service has been running for over 1 year the $HOME/.kube/config is expired

Resolution

Contact Dell Support for assistance. Refer VxRail: Kubectl Commands Return: You Must be Logged in to the Server Unauthorized