[LU-4476] Add support for linux process namespace Created: 12/Jan/14  Updated: 13/May/14  Resolved: 25/Apr/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0

Type: Improvement Priority: Critical
Reporter: James A Simmons Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: patch
Environment:

Any system running a linux kernel at version 3.4 or higher using containter


Issue Links:
Related
is related to LU-4960 Investigate support for linux process... Resolved
is related to LU-5058 support for linux process namespace i... Resolved
Rank (Obsolete): 12258

 Description   

With linux kernels 3.4 and above a new vitalization methods were introduced. Part of the change is the ability to process to belong to distinct name spaces so each name space can't access resources in an other name space. Since each name space is separate but same the same kernel a mapping must be done between userland process identifiers and the kernels internal representation. This is to ensure all the kernel's internal values are unique. This ticket work is to ensure lustre supports this new feature.



 Comments   
Comment by James A Simmons [ 12/Jan/14 ]

Patch at http://review.whamcloud.com/#/c/8817

Comment by Peter Jones [ 12/Jan/14 ]

Thanks James!

Comment by James Nunez (Inactive) [ 04/Apr/14 ]

James (Simmons),
The patch for client support of this feature has landed to master (2.6.0). From the patch comments, it looks like more work is needed for server support. Should we keep this ticket open for a patch for server support?

Thanks,
James

Comment by Bob Glossman (Inactive) [ 04/Apr/14 ]

James (Nunez),
You are correct, the patch that has landed in master only has enough namespaces changes to support client only builds in newer kernels with CONFIG_UIDGID_STRICT_TYPE_CHECKS set. For sure a follow on patch is needed for server support. Until then the lack can be worked around by building & using server kernels without CONFIG_UIDGID_STRICT_TYPE_CHECKS set.

I think it's OK to keep this ticket open until we have a follow on patch for servers too.

Comment by Jodi Levi (Inactive) [ 07/Apr/14 ]

James (Simmons),
Are you planning to create the necessary patch for server support?

Comment by James A Simmons [ 14/Apr/14 ]

I had some discussions about what is needed for server side support. Some people feel this is all client side while others believe server side changes are needed. In order to know for sure we need to test on systems with namespaces enabled to test.

Comment by Peter Jones [ 17/Apr/14 ]

James Simmons

Does it make sense to split the work to track the server side support into a separate ticket as it looks very likely that this work will miss 2.6 cutoff whereas the client-side changes have already landed?

Peter

Comment by Jodi Levi (Inactive) [ 25/Apr/14 ]

Patch landed to Master. Any needed server side support will be tracked in LU-4690.

Generated at Sat Feb 10 01:43:04 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.