Bug 1547762 - Mount NFS with credentials
Summary: Mount NFS with credentials
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Eric Paris
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-21 21:16 UTC by Greg Rodriguez II
Modified: 2019-06-12 11:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-12 11:59:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 02025915 0 None None None 2018-02-21 21:16:16 UTC

Description Greg Rodriguez II 2018-02-21 21:16:16 UTC
Description of problem:
Customer would prefer to mount NFS share using credentials for secure access.  Per docs, https://docs.openshift.com/container-platform/3.5/install_config/persistent_storage/persistent_storage_nfs.html#nfs-volume-security, this is not supported.

Version-Release number of selected component (if applicable):
3.5

How reproducible:
Customer verified.  Docs do not show this as being an option.

Steps to Reproduce:
From Customer: 
"how do we mount a NFS share that needs credentials to be accessed?

Example, if i mount the share on a node i'd do:

# yum install cifs-utils

# mkdir /mount

# echo "//sacfs1/data        /mount cifs    defaults,username=werner,password=mypassword,context=system_u:object_r:svirt_sandbox_file                                         _t:s0      0 0" >> /etc/fstab

# mount -a

# df -h
Filesystem      Size  Used Avail Use% Mounted on
//sacfs1/data    60G   38G   23G  63% /mount 

Then, the share is successfully mounted and I could mount "/mount" into a pod using a hostPath volume for a pod that runs in this node.

However, as do not want to use hostPath as each node needs to be statically configured I need to use the NFS plugin. This way and with the attached configuration, I get errors (attached)."

Actual results:
See above and attachments.

Expected results:
Customer would prefer to use credentials for secure access.

Additional info:
Adding attachments from Customer as additional private comments.

Comment 6 Kirsten Newcomer 2019-06-12 11:59:18 UTC
With the introduction of OpenShift 4, Red Hat has delivered or roadmapped a substantial number of features based on feedback by our customers.  Many of the enhancements encompass specific RFEs which have been requested, or deliver a comparable solution to a customer problem, rendering an RFE redundant.

This bz (RFE) has been identified as a feature request not yet planned or scheduled for an OpenShift release and is being closed. 

If this feature is still an active request that needs to be tracked, Red Hat Support can assist in filing a request in the new JIRA RFE system, as well as provide you with updates as the RFE progress within our planning processes. Please open a new support case: https://access.redhat.com/support/cases/#/case/new 

Opening a New Support Case: https://access.redhat.com/support/cases/#/case/new 

As the new Jira RFE system is not yet public, Red Hat Support can help answer your questions about your RFEs via the same support case system.


Note You need to log in before you can comment on or make changes to this bug.