メインコンテンツまでスキップ

特定のノードで NFS PVS にアクセスしているポッドがパーミッション拒否されている場合に Trident にアクセスしている

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

環境

  • Kubernetes/Openshift 向け Trident
  • SELinux ベースの Redhat Enterprise Linux ( RHEL ) 7.9 または 8.x ノード

問題

SELinux が有効で稼働している(ほとんどの場合)新規に導入された RHEL ノードに POD を導入すると、 Trident によって ontap/nas PVS がオンラインになりますが、次のエラーで定義されたマウントで失敗します。

sh-4.4$ cd
/mnt/pvc-trident-test/
sh-4.4$ touch test
touch: cannot touch 'test': Permission denied

アクセスはノードベースのマウントから正常に機能しています。

[<USER>@<NODE_NAME> trident_test] # mkdir test_of_directory
[<USER>@<NODE_NAME> trident_test] # touch test-of-directory/touched_file
[<USER>@<NODE_NAME> trident_test] # ls -la test-of-directory
total 8
drwxrwxrwx. 2 1001600000 root 4096 Sep 14 10:35 .
drwxrwxrwx. 3 1001600000 root 4096 Sep 14 10:35 ..
-rw-rw-rw-. 1 1001600000 root    0 Sep 14 10:35 touched_file

 

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.