Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15484

sanity-pcc test_101a: could not map uid 500 to root in namespace

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.1
    • Lustre 2.15.0
    • None
    • 3
    • 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
      sanity-pcc test_101a - could not map uid 500 to root in namespace

      Attachments

        Issue Links

          Activity

            [LU-15484] sanity-pcc test_101a: could not map uid 500 to root in namespace

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47733/
            Subject: LU-15484 tests: Increase timeout to wait for child
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: e0dabb76edd76110ad9bbda9c5312107569a3f47

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47733/ Subject: LU-15484 tests: Increase timeout to wait for child Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: e0dabb76edd76110ad9bbda9c5312107569a3f47

            "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47733
            Subject: LU-15484 tests: Increase timeout to wait for child
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: b94bed644f7b3dddaa4130f235a019b943a4cb3c

            gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47733 Subject: LU-15484 tests: Increase timeout to wait for child Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: b94bed644f7b3dddaa4130f235a019b943a4cb3c
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46764/
            Subject: LU-15484 tests: Increase timeout to wait for child
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 94925be0ff6af31aa396d39265a5252de5557897

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46764/ Subject: LU-15484 tests: Increase timeout to wait for child Project: fs/lustre-release Branch: master Current Patch Set: Commit: 94925be0ff6af31aa396d39265a5252de5557897
            simmonsja James A Simmons added a comment - - edited

            Install uidmap package for Ubuntu. It has newuidmap. Works for both Ubuntu 20 and 22. Is this a Ubuntu issue only?

            simmonsja James A Simmons added a comment - - edited Install uidmap package for Ubuntu. It has newuidmap. Works for both Ubuntu 20 and 22. Is this a Ubuntu issue only?
            mdiep Minh Diep added a comment -

            newuidmap is from rootlesskit and it does not exist in ubuntu 20.04, can we fix the test?

            mdiep Minh Diep added a comment - newuidmap is from rootlesskit and it does not exist in ubuntu 20.04, can we fix the test?

            It looks like this problem goes all the way back to the original patch https://review.whamcloud.com/45436"LU-15170 llite: Switch pcc to lookup_one_len", since it failed once in review testing before it landed.

            adilger Andreas Dilger added a comment - It looks like this problem goes all the way back to the original patch https://review.whamcloud.com/45436 " LU-15170 llite: Switch pcc to lookup_one_len ", since it failed once in review testing before it landed.

            "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46764
            Subject: LU-15484 tests: Increase timeout to wait for child
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 83de6008eb2c641ba64f2931bd6a264bf8cd3a38

            gerrit Gerrit Updater added a comment - "Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46764 Subject: LU-15484 tests: Increase timeout to wait for child Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 83de6008eb2c641ba64f2931bd6a264bf8cd3a38
            yujian Jian Yu added a comment - +1 on master: https://testing.whamcloud.com/test_sets/37c6fe04-c7a8-48b2-ab6d-00fcbfec3390

            People

              paf0186 Patrick Farrell
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: