跳转到主内容

由于Trident主容器终止、Trident控制器不断重新启动

Views:
2
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
snapx
Last Updated:

适用场景

  • Astra三端
  • 未启用安全增强型Linux (SELinux)

问题描述

  • Trident控制器在运行到CrashLoopBackOff 状态后不断重新启动
  • trident-controller 和/或trident-controller-previous 日志中未找到相关错误、但已关闭

time="<TIMESTAMP>" level=info msg="Shutting down."

  • trident-controller-sidecar-csi-attacher 和/或trident-controller-previous-sidecar-csi-attacher  日志指示 Lost connection to CSI driver

E1211 06:40:27.149543     1 connection.go:208] "Lost connection" address="unix:///var/lib/csi/sockets/pluginproxy/csi.sock"
E1211 06:40:27.149760     1 connection.go:116] "Lost connection to CSI driver, exiting"

  • 命令 kubectl describe pod trident-controller-<UUID> -n trident指示在使用csI-main终止Trident后、CsI-Attacher已终止 Exit Code 0

Containers:
  trident-main:
  ..
   Last State:    Terminated
    Reason:     Completed
   Exit Code:   0
    Started:    Wed, 11 Dec 2024 06:34:23 +0000
   Finished:    Wed, 11 Dec 2024 06:40:22 +0000
   Ready:      True
   Restart Count:  1
   Liveness:     exec [tridentctl -s 127.0.0.1:8000 version] delay=120s timeout=90s period=120s #success=1 #failure=2
  ..
  csi-attacher:
  ..
   Last State:    Terminated
    Reason:     Error
    Message:    Lost connection to CSI driver, exiting
    Exit Code:   1
    Started:    Wed, 11 Dec 2024 06:34:26 +0000
   Finished:    Wed, 11 Dec 2024 06:40:27 +0000

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.