Github user serg38 commented on the pull request:
https://github.com/apache/cloudstack/pull/1361#issuecomment-174554271
Unfortunately NFS version negotiation doesn't work properly with all
storage vendors. Some vendors e.g. Tintri require that vers=3 is supplied in
mount command likely due to the fact they don't support negotiations on the
server side.
When such NFS secondary storages tries to get mounted in SSVM an exception
in mount is generated
'mount.nfs: Protocol family not supported'
The same happens when trying to mount in shell so mount command needs to be
told a specific version. If done so mount succeeds in both management server as
well as in SSVM. Supporting nfs.version in image_store_details gives the best
option to support great variety of NFS storage vendors without bluntly relying
on version negotiation in nfs.mount.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---