You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "hemanth makaraju (JIRA)" <ji...@apache.org> on 2017/02/14 02:36:41 UTC

[jira] [Updated] (MESOS-7118) mesos-execute command did not create file in the mount

     [ https://issues.apache.org/jira/browse/MESOS-7118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hemanth makaraju updated MESOS-7118:
------------------------------------
    Component/s: master

> mesos-execute command did not create file in the mount 
> -------------------------------------------------------
>
>                 Key: MESOS-7118
>                 URL: https://issues.apache.org/jira/browse/MESOS-7118
>             Project: Mesos
>          Issue Type: Bug
>          Components: agent, executor, master
>    Affects Versions: 1.1.1
>         Environment: mesos 1.1.1
> docker
> docker volume driver
>            Reporter: hemanth makaraju
>
> we ran these commands , but file is not created in the /data/testvolume folder
> mesos-execute \
>     --master=127.0.0.1:5050 \
>     --name=test \
> 	--docker_image=ubuntu:14.04 \
>     --command="touch /data/testvolume/anotherfile" \
>     --volumes=/volume.json
> mesos-execute \
>     --master=127.0.0.1:5050 \
>     --name=test \
> 	--docker_image=ubuntu:14.04 \
>     --command="echo "hello" > /data/testvolume/anotherfile" \
>     --volumes=/volume.json	
> copied below sandbox output
> {code}
> Executing pre-exec command '{"arguments":["mesos-containerizer","mount","--help=false","--operation=make-rslave","--path=\/"],"shell":false,"value":"\/usr\/local\/libexec\/mesos\/mesos-containerizer"}'
> Executing pre-exec command '{"arguments":["mount","-n","--rbind","\/tmp\/mesos\/agent\/slaves\/a654c26f-357a-4c78-9b33-b7d20df0a95b-S0\/frameworks\/1595b537-4dcf-42e5-870b-5b11ce1cbc84-0002\/executors\/test\/runs\/99a7dc8c-4c6e-4802-b76b-26b6b4d02dca","\/tmp\/mesos\/agent\/provisioner\/containers\/99a7dc8c-4c6e-4802-b76b-26b6b4d02dca\/backends\/copy\/rootfses\/6ba28da0-f755-4f5b-a712-6b561211d93a\/mnt\/mesos\/sandbox"],"shell":false,"value":"mount"}'
> Executing pre-exec command '{"arguments":["mount","-n","--rbind","\/data\/testvolume","\/tmp\/mesos\/agent\/provisioner\/containers\/99a7dc8c-4c6e-4802-b76b-26b6b4d02dca\/backends\/copy\/rootfses\/6ba28da0-f755-4f5b-a712-6b561211d93a\/data\/testvolume"],"shell":false,"value":"mount"}'
> Received SUBSCRIBED event
> Subscribed executor on lglou151.lss.emc.com
> Received LAUNCH event
> Starting task test
> /usr/local/libexec/mesos/mesos-containerizer launch --command="{"shell":true,"value":"echo hello > \/data\/testvolume\/anotherfile"}" --help="false" --rootfs="/tmp/mesos/agent/provisioner/containers/99a7dc8c-4c6e-4802-b76b-26b6b4d02dca/backends/copy/rootfses/6ba28da0-f755-4f5b-a712-6b561211d93a" --unshare_namespace_mnt="true" --user="root" --working_directory="/mnt/mesos/sandbox"
> Forked command at 19695
> Changing root to /tmp/mesos/agent/provisioner/containers/99a7dc8c-4c6e-4802-b76b-26b6b4d02dca/backends/copy/rootfses/6ba28da0-f755-4f5b-a712-6b561211d93a
> Command exited with status 0 (pid: 19695)
> Received SHUTDOWN event
> Shutting down
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)