[LU-15484] sanity-pcc test_101a: could not map uid 500 to root in namespace Created: 05/Jan/22 Updated: 05/Jul/22 Resolved: 11/Jun/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.15.0 |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Patrick Farrell |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
This issue was created by maloo for S Buisson <sbuisson@ddn.com> This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/6dc80157-47d4-4055-9907-0ee99e3974b7 test_101a failed with the following error: could not map uid 500 to root in namespace It seems the error is due to 'newuidmap': == sanity-pcc test 101a: Test auto attach in mount namespace (simulated container) =================== 13:07:40 (1641388060) CMD: onyx-41vm2 cat /proc/sys/user/max_user_namespaces CMD: onyx-41vm2 echo 10 > /proc/sys/user/max_user_namespaces creating user namespace for 500 CMD: onyx-41vm2 runas -u 500 -g 500 unshare -Um sleep 600 CMD: onyx-41vm2 pgrep sleep onyx-41vm2: running as uid/gid/euid/egid 500/500/500/500, groups: onyx-41vm2: [unshare] [-Um] [sleep] [600] Created NS: child (sleep) pid CMD: onyx-41vm2 runas -u 500 -g 500 newuidmap 0 500 1 onyx-41vm2: running as uid/gid/euid/egid 500/500/500/500, groups: onyx-41vm2: [newuidmap] [0] [500] [1] onyx-41vm2: newuidmap: Could not open proc directory for target 0 sanity-pcc test_101a: @@@@@@ FAIL: could not map uid 500 to root in namespace VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV |
| Comments |
| Comment by Jian Yu [ 14/Jan/22 ] |
|
+1 on master: https://testing.whamcloud.com/test_sets/37c6fe04-c7a8-48b2-ab6d-00fcbfec3390 |
| Comment by Gerrit Updater [ 09/Mar/22 ] |
|
"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46764 |
| Comment by Andreas Dilger [ 16/May/22 ] |
|
It looks like this problem goes all the way back to the original patch https://review.whamcloud.com/45436" |
| Comment by Minh Diep [ 09/Jun/22 ] |
|
newuidmap is from rootlesskit and it does not exist in ubuntu 20.04, can we fix the test? |
| Comment by James A Simmons [ 09/Jun/22 ] |
|
Install uidmap package for Ubuntu. It has newuidmap. Works for both Ubuntu 20 and 22. Is this a Ubuntu issue only? |
| Comment by Gerrit Updater [ 11/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46764/ |
| Comment by Peter Jones [ 11/Jun/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 24/Jun/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47733 |
| Comment by Gerrit Updater [ 05/Jul/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47733/ |