跳转到主内容

Trident OpenShift 升级产生错误 - applyFSGroup 失败,权限被拒绝

 

Views:
Visibility:
Public
Votes:
0
Category:
trident-openshift
Specialty:
snapx
Last Updated:

适用于

  • OpenShift
  • Trident

问题描述

  • 升级 OpenShift 后,新 PVC 的部署会导致 securityContext 错误,指出当 fsgroup 尝试修改 NFS 装载时权限被拒绝,并且 root 用户无法访问 NFS 装载以修改所有权和权限
  • 除非重新创建,否则现有 PVC 装载将保持不变
  • 错误可能类似于: 
    MountVolume.SetUp failed for volume "pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234" : applyFSGroup failed for vol pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234: open /var/lib/kubelet/pods/eeb8dd83-4e61-42ce-a000-c24d5e1cddef/volumes/kubernetes.io~csi/pvc-f60e8674-7a25-4c1f-9ef9-83cb11c22234/mount: permission denied

 

 

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.