mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9252: Support configurable NFS version for Secondary Storage mountsJIRA Ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-9252 ### Description of the problem After starting secondary storage VM, secondary storage tries to be mounted but fails with error: <code>Protocol family not supported</code> It was found out that adding <code>-o vers=X</code> to mount command it would work, where <code>X</code> is the desired NFS version to use. If it is desired to mount a store with a specific NFS version, it has passed in <code>image_store_details</code> table for a store with id <code>Y</code> as a property: | store_id| name| value | |:-------------:|:-------------:|:-------------:| |Y|nfs.version|X (e.g. 3)| Where X stands for NFS version * pr/1361: CLOUDSTACK-9252: Last refactor, passing nfs version to ssvm CLOUDSTACK-9252: Add missing licence header CLOUDSTACK-9252: Little refactor CLOUDSTACK-9252: Mock application context for unit test CLOUDSTACK-9252: Add unit tests CLOUDSTACK-9252: New refactor CLOUDSTACK-9252: Remove static dependencies, refactor CLOUDSTACK-9252: Remove duplicates getNfsVersion, refactor CLOUDSTACK-9252: Support configurable nfs version CLOUDSTACK-9252: Add nfs version to commands Signed-off-by: Rafael Weingärtner <rafael@apache.org>