Skip to main content
NetApp Knowledge Base

Access Denied on Classification scans

Views:
103
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
ds_dc
Last Updated:

Applies to

  • NetApp Console
  • Classification

Issue

The following message is observed on scans in Classification:
 
Access denied. Ensure the ONTAP export policy allows access from the classification instance

Cause

  • Classification tries mounting with NFSv3 first and then falls back to NFSv4 if it fails
  • Scans are timing out because only NFSv4 ports are open on the Classification VM

Solution

Run the following to allow connection to NFSv4 directly:
 
# sed -i 's/cls\._VERSION_FALLBACK_ORDER/cls._VERSION_FALLBACK_ORDER[::-1]/g' /opt/netapp/Datasense/datasense/data_providers/share/mount_controller.py
# docker stop $(docker ps | grep scanning | awk '{print $1}')
 
Replace 'docker' with 'podman' if using RHEL

Partner Notes

partnerNotes_text
 

Additional Information

additionalInformation_text

Internal Notes

For Translation
For Translation

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.