{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26485","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26485/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26485/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26485/events","html_url":"https://github.com/docker/docker/issues/26485","id":176324362,"number":26485,"title":"`docker service create`  with wrong mount opts exhausts docker.log and disk","user":{"login":"allencloud","id":9465626,"avatar_url":"https://avatars.githubusercontent.com/u/9465626?v=3","gravatar_id":"","url":"https://api.github.com/users/allencloud","html_url":"https://github.com/allencloud","followers_url":"https://api.github.com/users/allencloud/followers","following_url":"https://api.github.com/users/allencloud/following{/other_user}","gists_url":"https://api.github.com/users/allencloud/gists{/gist_id}","starred_url":"https://api.github.com/users/allencloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allencloud/subscriptions","organizations_url":"https://api.github.com/users/allencloud/orgs","repos_url":"https://api.github.com/users/allencloud/repos","events_url":"https://api.github.com/users/allencloud/events{/privacy}","received_events_url":"https://api.github.com/users/allencloud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/runtime","name":"area/runtime","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/area/swarm","name":"area/swarm","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-12T08:52:36Z","updated_at":"2016-09-27T09:25:54Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nroot@ubuntu:~# docker version\r\nClient:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 05:22:43 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 05:22:43 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nroot@ubuntu:~# docker info\r\nContainers: 2\r\n Running: 0\r\n Paused: 0\r\n Stopped: 2\r\nImages: 46\r\nServer Version: 1.12.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 399\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: host null bridge overlay\r\nSwarm: active\r\n NodeID: 19j949wnb9m8g79ntj1121i51\r\n Is Manager: true\r\n ClusterID: e48qs7u1vk0465tb5slp1d33l\r\n Managers: 1\r\n Nodes: 1\r\n Orchestration:\r\n  Task History Retention Limit: 5\r\n Raft:\r\n  Snapshot Interval: 10000\r\n  Heartbeat Tick: 1\r\n  Election Tick: 3\r\n Dispatcher:\r\n  Heartbeat Period: 5 seconds\r\n CA Configuration:\r\n  Expiry Duration: 3 months\r\n Node Address: 10.1.4.182\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: apparmor\r\nKernel Version: 3.19.0-25-generic\r\nOperating System: Ubuntu 14.04.3 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 1\r\nTotal Memory: 1.954 GiB\r\nName: ubuntu\r\nID: HRBI:EV6M:3NAC:CXZ3:BDS7:UOKL:PD6Y:ZCK4:V3PF:V7MR:CU2Y:3LGG\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 32\r\n Goroutines: 120\r\n System Time: 2016-09-12T16:46:16.145069716+08:00\r\n EventsListeners: 0\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No swap limit support\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\n\r\n\r\n**Steps to reproduce the issue:**\r\n1.docker service create --mount type=bind,src=/datanotexist,dst=/data nginx\r\n\r\n\r\n**Describe the results you received:**\r\nIn an infinite loop, docker daemon will check all the task, and fails again and again, this will make the docker.log larger and large, if daemon's log level is debug, it will be much huge within a short time of period.\r\n\r\nHere is the data in docker daemon's log:\r\n```\r\ntime=\"2016-09-12T12:01:02.204489614+08:00\" level=debug msg=\"(*worker).Assign\" len(tasks)=5 module=agent\r\ntime=\"2016-09-12T12:01:02.205224564+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.206977695+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.207712388+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.208284969+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.208919104+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.209460295+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.209983804+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.210367543+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.210718336+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.211891042+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.212422327+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.212851988+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.213334024+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.213833728+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.214185855+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.207689530+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.216821332+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.217953873+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.217749324+08:00\" level=debug msg=\"Assigning to node 19j949wnb9m8g79ntj1121i51\" task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.217725098+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.219153413+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.220897611+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.221992038+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.222511694+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.223153141+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.223640799+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.224354483+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.277484553+08:00\" level=debug msg=\"(*worker).Assign\" len(tasks)=6 module=agent\r\ntime=\"2016-09-12T12:01:02.278737442+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.279399477+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.279986199+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.280439069+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.280997797+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.281398832+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.281972378+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.282606047+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.283016059+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.283553609+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.284783967+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.285271078+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.285684683+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.286106100+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.286483295+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.286993508+08:00\" level=debug msg=assigned module=agent task.desiredstate=READY task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.287611243+08:00\" level=debug msg=\"state changed\" module=agent state.desired=READY state.transition=\"ASSIGNED->REJECTED\" task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.288674103+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.289172365+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.279948336+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.291756920+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.292090899+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.293066179+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.293945639+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.294517492+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.294669431+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.295211582+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.296157343+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.296839440+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.297102241+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.298510780+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.325187436+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.325844887+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.327610822+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"ASSIGNED->REJECTED\" task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.328143417+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.328651864+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.329376009+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=0bmm3bb7z2pabatpygzy9mvqe\r\ntime=\"2016-09-12T12:01:02.429402625+08:00\" level=debug msg=\"(*worker).Assign\" len(tasks)=5 module=agent\r\ntime=\"2016-09-12T12:01:02.430533389+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.431166498+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.431761020+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.432441717+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.433083486+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.433660328+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.434173794+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.434785372+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.435272093+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.435830886+08:00\" level=debug msg=assigned module=agent task.desiredstate=READY task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.436879145+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.437430382+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.438098911+08:00\" level=debug msg=assigned module=agent task.desiredstate=SHUTDOWN task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.438581800+08:00\" level=error msg=\"controller resolution failed\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.439139763+08:00\" level=error msg=\"failed to start taskManager\" error=\"invalid bind mount source, source path not found: /datanotexist\" module=agent\r\ntime=\"2016-09-12T12:01:02.431484060+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.441687969+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.442756753+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.443481650+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.443924942+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.444473361+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=4kdy1olb0npzwv81skig7kd3g\r\ntime=\"2016-09-12T12:01:02.445198712+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=0cqhwgpvgiw2o926v6dgkxmdu\r\ntime=\"2016-09-12T12:01:02.445113433+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.447504989+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.448368323+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.448804374+08:00\" level=debug msg=\"(*Agent).UpdateTaskStatus\" module=agent task.id=59l117ypq5dqbehg917r3jqm9\r\ntime=\"2016-09-12T12:01:02.449520345+08:00\" level=debug msg=\"task status reported\" module=agent\r\ntime=\"2016-09-12T12:01:02.550429597+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=couy7zmi2dowu9kvkl10esvlr\r\ntime=\"2016-09-12T12:01:02.552011711+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=6dilxfjazidwzo5f566k4qrep\r\ntime=\"2016-09-12T12:01:02.552588616+08:00\" level=debug msg=\"task status updated\" method=\"(*Dispatcher).processTaskUpdates\" module=dispatcher state.transition=\"REJECTED->REJECTED\" task.id=59l117ypq5dqbehg917r3jqm9\r\n```\r\n\r\n**Describe the results you expected:**\r\n\r\nI think when creating such a service, we should validate serviceSpec and avoid to create such a wrong service.\r\n\r\nlike :\r\n```\r\nroot@10-11-26-89:~# docker service create --mount type=bind,src=/datanotexist,dst=/data nginx\r\nError response from daemon: rpc error: code = 3 desc = Mount: source /datanotexist path not found\r\n```\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/249813253","html_url":"https://github.com/docker/docker/issues/26485#issuecomment-249813253","issue_url":"https://api.github.com/repos/docker/docker/issues/26485","id":249813253,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T09:25:54Z","updated_at":"2016-09-27T09:25:54Z","body":"I think this PR is trying to address situations like this; https://github.com/docker/docker/pull/26421\r\n\r\n@allencloud perhaps you could have a look at that PR, and tell what you think (perhaps you have additional suggestions)"}}
{"actor":{"display_login":"thaJeztah"}}