跳转到主内容

如果工作节点缺少用于NFS通信的IP、则创建Pod将失败

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

适用场景

  • NetApp Astra三端
  • 工作节点 没有 用于NFS通信的IP地址
  •   在创建后为NFS通信分配动态IP地址的Pod
  • NFS持久卷(PV)

问题描述

  • 使用  通过使用由三端到子创建的NFS PV创建POD失败
  • kubectl describe pod <POD> 报告警告:

  Warning  FailedMount        38s   kubelet          Unable to attach or mount volumes: unmounted volumes=[<VOLUME>], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
  Warning  FailedMount        32s   kubelet          MountVolume.SetUp failed for volume "<PVC>" : rpc error: code = DeadlineExceeded desc = context deadline exceeded

  Warning  FailedMount        38s   kubelet          Unable to attach or mount volumes: unmounted volumes=[<VOLUME>], unattached volumes=[], failed to process volumes=[]: timed out waiting for the condition
  Warning  FailedMount        32s   kubelet          MountVolume.SetUp failed for volume "<PVC>" : rpc error: code = Internal desc = error mounting NFS volume <IP>:/<NFS> on mountpoint /var/lib/kubelet/pods/<ID>/volumes/kubernetes.io~csi/<PVC>/mount: exit status 32

  • 在不挂载PV的情况下创建Pod 、并  在Pod中使用mount 命令 成功挂载NFS。

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.