Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1761

Sandbox taskfs setup fails (groupadd error)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • Executor
    • None

    Description

      When launching a job using the Mesos containerizer and a docker image, the sandbox setup fails with the following error:

      
      

      Failed to initialize sandbox: Failed to create group in sandbox for task image: Command '['groupadd', '-R', '/var/lib/mesos/slaves/853a55ff-b319-451e-8797-80eae2e301c3-S0/frameworks/16faae0a-5d31-400c-84e7-e6edbdf2afff-0000/executors/thermos-root-devel-redis-aurora-0-0dcec1df-2e34-4fd9-8f77-955127bce03d/runs/13e44672-a93a-4071-9ee3-ec6450b2a5f1/taskfs', '-g', '0', 'root']' returned non-zero exit status 9

      {/code}

      See test case:
      https://gist.github.com/chetan/1b2dd4c2dd4f0c556e55080fd1505653

      Also:
      https://github.com/shadow-maint/shadow/blob/master/src/groupadd.c#L66-L67
      (this is the version used by debian, not sure of others)

      Attachments

        Activity

          People

            zhitao Zhitao Li
            csarva Chetan Sarva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: