Data Classification fails to add CIFS share to scan with connectivity errors
Applies to
- NetApp Console Agent
- NetApp Data Classification (Formerly known as Data Sense)
- Cloud Volumes ONTAP (CVO)
- CIFS
Issue
- Data Classification fails to scan CIFS shares and gives error : Check network connectivity between the Classification instance and the volume even though network connectivity is in place.
- The share may be added regardless of the errors, but scanning will not work.
- datasense_celery_dirlist_worker from Classification logs show the following:
datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance | datasense.data_providers.consts.MountShareNotExistError: Failed to connect share //data_lif_IP/cifs_share_name: No such file or directory- Manual mounting of CIFS share on classification instance fails with error 1:
log v1.0 | 2024-09-05 07:02:06,191 | WARNING | ds_logger | utils | 21 | xxxxxxx | None | utils_21 | Error while executing cmd '['nsenter', '-t', 'xxxxxxx', '-m', '-p', '-n', 'timeout', '21', '/sbin/mount.cifs', '-o', 'credentials=/tmp/tmpxxxxxxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,rw,soft,nobrl,nounix,vers=2.0,iocharset=utf8', '//data_lif_IP/cifs_share_name', '/tmp/mounts/pid_xxxx/data_lif_IP/cifs_share_name']' mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)- Manual mounting of CIFS share on classification instance fails with error 2:
datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance | datasense.data_providers.consts.MountError: Error while executing cmd '['/data/tools/3rd/docker/docker', 'inspect', '--format', '{{.State.Pid}}', '0c11bffeb72e']', stdout:
datasense_celery_dirlist_worker.0.xxxxxxxxxxxx@cloudcompliance | stderr:Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version
