GPFS KNFS multiple ssh prepend with gpfs_nfs_server_list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Mark Sturdevant |
Bug Description
GPFS KNFS allow/deny access results in incorrect behavior when multiple NFS servers are configured (gpfs_nfs_
For remote NFS servers with GPFS KNFS, commands are prepended with "ssh <login>@<server>" for remote execution. The prepended information is currently being added to the command in a loop so that in cases where more than one NFS server is configured each following server includes the prefix from the previous one.
This happens to work if the only remote server is the last one. Otherwise the extra ssh prefixes result in the command being forwarded to the wrong server.
For example, a 2nd server may result in a command like "ssh login@server2 ssh login@server1 exportfs..." or a local server may re-use the ssh login@server1 prefix from the remote server earlier in the list.
Changed in manila: | |
assignee: | nobody → Mark Sturdevant (mark-sturdevant) |
Fix proposed to branch: master /review. openstack. org/413239
Review: https:/