在SVM LIF关闭时、Trident后端报告处于联机状态
适用场景
- NetApp Astra Trident
- NetApp ONTAP
- Kubernetes 集群
问题描述
尽管相关SVM LIF已被管理员关闭、但Trident后端报告仍处于联机状态:
Cluster::>net int show -vserver svm_k8s
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
svm_k8s
lif_data_iscsi
down/down XXX.YYY.Z.XYZ/24 Cluster-01 e0d true
lif_data_nfs
down/down XXX.YYY.Z.XXY/24 Cluster-01 e0c true
lif_mgmt down/down XXX.YYY.Z.XZY/24 Cluster-01 e0d true
3 entries were displayed.
user@k8s-master:~# cat backend-ontap-nas.json
{
"version": 1,
"storageDriverName": "ontap-nas",
"backendName": "nas-backend",
"managementLIF": "XXX,YYY.Z.XZY",
"dataLIF": "XXX.YYY.Z.XXY",
"svm": "svm_k8s",
"username": "vsadmin",
...
user@k8s-master:~# tridentctl get backend nas-backend -n trident
+-------------+----------------+--------------------------------------+--------+---------+
| NAME | STORAGE DRIVER | UUID | STATE | VOLUMES |
+-------------+----------------+--------------------------------------+--------+---------+
| nas-backend | ontap-nas | 2c28ccee-2095-4474-9f00-a68a77598cc7 | online | 0 |
+-------------+----------------+--------------------------------------+--------+---------+