GitHub user nvazquez opened a pull request:
https://github.com/apache/cloudstack/pull/1518
CLOUDSTACK-9368: Fix for Support configurable NFS version for Secondary
Storage mounts
## Description
JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9368
This pull request address a problem introduced in #1361 in which NFS
version couldn't be changed after hosts resources were configured on startup
(for hosts using `VmwareResource`), and as host parameters didn't include
`nfs.version` key, it was set `null`.
## Proposed solution
In this proposed solution `nfsVersion` would be passed in `NfsTO` through
`CopyCommand` to `VmwareResource`, who will check if NFS version is still
configured or not. If not, it will use the one sent in the command and will set
it to its storage processor and storage handler. After those setups, it will
proceed executing command.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nvazquez/cloudstack testnfs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1518.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1518
----
commit d0fa3245484b4e74a9f7be364deb6bb47da12de6
Author: nvazquez <[email protected]>
Date: 2016-04-22T19:47:05Z
CLOUDSTACK-9368: Fix NFS version set on VmwareResource
----
---
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.
---