VxRail: Kubectl-komentojen palautus: Sinun on oltava kirjautuneena palvelimelle luvattomasti
Summary: VxRail Managerin kubectl-komennot palauttavat: Sinun on oltava kirjautuneena palvelimelle (valtuuttamaton) virheellisten kubeconfig-tietojen vuoksi.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
Seuraava tulos näkyy, kun kubectl-komentoja suoritetaan VxRail Managerissa:
error: You must be logged in to the server (Unauthorized)

Tätä ei nähdä, kun kubeconfig ladataan rke2 YAML -tiedostosta: /etc/rancher/rke2/rke2.yaml
kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml -n helium get nodes

Tämä virhe ilmenee myös suoritettaessa Poista solmu -vaihtoehtoa komentosarjassa 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 Cause
RKE2-palvelu on ollut käynnissä yli 1 vuoden $HOME/.kube/config on vanhentunut.
Resolution
Jos kohtaat tämän ongelman, ota yhteyttä Dellin tukeen ja anna tämä tietämyskannan artikkeli käyttöön.
Affected Products
VxRail Appliance Family, VxRail Appliance SeriesArticle Properties
Article Number: 000212809
Article Type: Solution
Last Modified: 08 Apr 2025
Version: 6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.