Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D55E7200B8E for ; Mon, 26 Sep 2016 22:52:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D41CE160AC8; Mon, 26 Sep 2016 20:52:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 24D45160AE5 for ; Mon, 26 Sep 2016 22:52:21 +0200 (CEST) Received: (qmail 74290 invoked by uid 500); 26 Sep 2016 20:52:20 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 74116 invoked by uid 99); 26 Sep 2016 20:52:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2016 20:52:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89C0C2C2A68 for ; Mon, 26 Sep 2016 20:52:20 +0000 (UTC) Date: Mon, 26 Sep 2016 20:52:20 +0000 (UTC) From: "Justin Venus (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AURORA-1781) Sandbox taskfs setup fails (groupadd error) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Sep 2016 20:52:23 -0000 [ https://issues.apache.org/jira/browse/AURORA-1781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Venus updated AURORA-1781: --------------------------------- Issue Type: Bug (was: Story) > Sandbox taskfs setup fails (groupadd error) > ------------------------------------------- > > Key: AURORA-1781 > URL: https://issues.apache.org/jira/browse/AURORA-1781 > Project: Aurora > Issue Type: Bug > Affects Versions: 0.16.0 > Reporter: Justin Venus > > I hit what smells like a permission issue w/ `/etc/group` when trying to use a docker-image (unified containerizer setup) with mesos-1.0.0. and aurora-0.16.0-rc2. I cannot reproduce issue w/ mesos-0.28.2 and aurora-015.0. > {code} > Failed to initialize sandbox: Failed to create group in sandbox for task image: Command '['groupadd', '-R', '/var/lib/mesos/slaves/5d28d0cc-2793-4471-82d5-e67276c53f70-S2/frameworks/20160221-001235-3801519626-5050-1-0000/executors/thermos-nobody-prod-jenkins-0-47cc7824-565b-4265-9ab4-9ba3f364ebed/runs/a3f78288-4865-4166-8685-1ad941562f2f/taskfs', '-g', '99', 'nobody']' returned non-zero exit status 10 > {code} > {code} > [root@mesos-master01of2 taskfs]# pwd > /var/lib/mesos/slaves/5d28d0cc-2793-4471-82d5-e67276c53f70-S2/frameworks/20160221-001235-3801519626-5050-1-0000/executors/thermos-nobody-prod-jenkins-0-47cc7824-565b-4265-9ab4-9ba3f364ebed/runs/a3f78288-4865-4166-8685-1ad941562f2f/taskfs > [root@mesos-master01of2 taskfs]# groupadd -R $PWD -g 99 nobody > groupadd: cannot lock /etc/group; try again later. > {code} > Maybe related to AURORA-1761 > I'm running CoreOS with the mesos-agent (and thermos) inside docker. Here is the gist of how it's started. > {code} > /usr/bin/sh -c "exec /usr/bin/docker run \ > --name=mesos_slave \ > --net=host \ > --pid=host \ > --privileged \ > -v /sys:/sys \ > -v /usr/bin/docker:/usr/bin/docker:ro \ > -v /var/lib/docker:/var/lib/docker \ > -v /var/run/docker.sock:/root/docker.sock \ > -v /run/systemd/system:/run/systemd/system \ > -v /lib64/libdevmapper.so.1.02:/lib/libdevmapper.so.1.02:ro \ > -v /sys/fs/cgroup:/sys/fs/cgroup \ > -v /var/lib/mesos:/var/lib/mesos \ > -e MESOS_CONTAINERIZERS=docker,mesos \ > -e MESOS_EXECUTOR_REGISTRATION_TIMEOUT=5mins \ > -e MESOS_WORK_DIR=/var/lib/mesos \ > -e MESOS_LOGGING_LEVEL=INFO \ > -e AMAZON_REGION=us-office-2 \ > -e AVAILABILITY_ZONE=us-office-2b \ > -e MESOS_ATTRIBUTES=\"platform:linux;host:$(hostname);rack:us-office-2b\" \ > -e MESOS_CLUSTER=ZeroZero \ > -e MESOS_DOCKER_SOCKET=/root/docker.sock \ > -e MESOS_MASTER=zk://10.150.150.224:2181,10.150.150.225:2181,10.150.150.226:2181/mesos \ > -e MESOS_LOG_DIR=/var/log/mesos \ > -e MESOS_ISOLATION=\"filesystem/linux,cgroups/cpu,cgroups/mem,docker/runtime\" \ > -e MESOS_IMAGE_PROVIDERS=docker \ > -e MESOS_IMAGE_PROVISIONER_BACKEND=copy \ > -e MESOS_DOCKER_REGISTRY=http://docker-registry:31000 \ > -e MESOS_DOCKER_STORE_DIR=/var/lib/mesos/docker \ > --entrypoint=/usr/sbin/mesos-slave \ > docker-registry.thebrighttag.com:31000/mesos:latest \ > --no-systemd_enable_support \ > || rm -f /var/lib/mesos/meta/slaves/latest" > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)