Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-8324

test_marathon_root:test_private_repository_docker_app is broken on EE

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.12.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Build artifact:
      Marathon-v1.7.174

      Description

      The test_marathon_root:test_private_repository_docker_app broke for EE after we switched to CentOS.

      The executor shows

      I0723 06:47:12.189890   449 fetcher.cpp:560] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/nobody","items":[{"action":"BYPASS_CACHE","uri":{"cache":false,"executable":false,"extract":true,"value":"file:\/\/\/home\/centos\/docker.tar.gz"}}],"sandbox_directory":"\/var\/lib\/mesos\/slave\/slaves\/b6951ca9-11b3-4c9f-8210-86579097c819-S0\/frameworks\/b6951ca9-11b3-4c9f-8210-86579097c819-0001\/executors\/private-docker-app-3353439388824fb1aa0fe7268bfbda83.3a398abf-8e44-11e8-91bf-5e6e68de1b38\/runs\/c14dc0a4-1e0c-4b55-8be0-76c188ebf232","stall_timeout":{"nanoseconds":60000000000},"user":"nobody"}
      I0723 06:47:12.193362   449 fetcher.cpp:457] Fetching URI 'file:///home/centos/docker.tar.gz'
      I0723 06:47:12.193377   449 fetcher.cpp:292] Fetching directly into the sandbox directory
      I0723 06:47:12.193393   449 fetcher.cpp:225] Fetching URI 'file:///home/centos/docker.tar.gz'
      cp: cannot stat '/home/centos/docker.tar.gz': Permission denied
      E0723 06:47:12.194921   449 fetcher.cpp:613] EXIT with status 1: Failed to fetch 'file:///home/centos/docker.tar.gz': cp failed with status: 256
      

      Evan Lezar pointed out that use nobody has a different UID and thus has no rights to read the docker.tar.gz

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kjeschkies Karsten Jeschkies
                Reporter:
                kjeschkies Karsten Jeschkies
                Team:
                Orchestration Team
                Watchers:
                Ivan Chernetsky, Karsten Jeschkies
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: