{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1732","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1732/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1732/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1732/events","html_url":"https://github.com/coreos/bugs/issues/1732","id":197682522,"number":1732,"title":"Docker service has an invalid enviromentfile path ","user":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars.githubusercontent.com/u/1426912?v=3","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T10:31:41Z","updated_at":"2016-12-29T21:27:59Z","closed_at":null,"body":"# Issue Report #\r\n\r\n## Bug ##\r\n\r\n### CoreOS Version ###\r\n\r\n```\r\n$ cat /etc/os-release\r\nNAME=CoreOS\r\nID=coreos\r\nVERSION=1262.0.0\r\nVERSION_ID=1262.0.0\r\nBUILD_ID=2016-12-14-2334\r\nPRETTY_NAME=\"CoreOS 1262.0.0 (Ladybug)\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n```\r\n\r\n### Environment ###\r\n\r\nWhat hardware/cloud provider/hypervisor is being used to run CoreOS?\r\n\r\n### Expected Behavior ###\r\n\r\n### Actual Behavior ###\r\n\r\n### Reproduction Steps ###\r\n\r\nFlanneld generated the docker options file located `/run/flannel_docker_opts.env` , but in docker service, the enviroment file is point to the invalid path `/run/flannel/flannel_docker_opts.env `\r\n\r\n```\r\nhlg-5p153-yanxu ~ # cat /usr/lib/systemd/system/docker.service\r\n[Unit]\r\nDescription=Docker Application Container Engine\r\nDocumentation=http://docs.docker.com\r\nAfter=containerd.service docker.socket early-docker.target network.target\r\nRequires=containerd.service docker.socket early-docker.target\r\n\r\n[Service]\r\nType=notify\r\nEnvironmentFile=-/run/flannel/flannel_docker_opts.env\r\n\r\n```\r\n\r\n### Other Information ###\r\n\r\n## Feature Request ##\r\n\r\n### Environment ###\r\n\r\nWhat hardware/cloud provider/hypervisor is being used to run CoreOS?\r\n\r\n### Desired Feature ###\r\n\r\n### Other Information ###"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/269696190","html_url":"https://github.com/coreos/bugs/issues/1732#issuecomment-269696190","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1732","id":269696190,"user":{"login":"euank","id":2147649,"avatar_url":"https://avatars.githubusercontent.com/u/2147649?v=3","gravatar_id":"","url":"https://api.github.com/users/euank","html_url":"https://github.com/euank","followers_url":"https://api.github.com/users/euank/followers","following_url":"https://api.github.com/users/euank/following{/other_user}","gists_url":"https://api.github.com/users/euank/gists{/gist_id}","starred_url":"https://api.github.com/users/euank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/euank/subscriptions","organizations_url":"https://api.github.com/users/euank/orgs","repos_url":"https://api.github.com/users/euank/repos","events_url":"https://api.github.com/users/euank/events{/privacy}","received_events_url":"https://api.github.com/users/euank/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T21:27:59Z","updated_at":"2016-12-29T21:27:59Z","body":"I'm unable to reproduce this issue. Can you provide more information about how you're running flannel and what steps I can follow to observe flanneld generating `/run/flannel_docker_opts.env`?\r\n\r\nUpstream flannel does default to writing to `/run/flannel_docker_opts.env` as part of its `mk-docker-opts.sh` setup script, but when it's invoked via the provided `flannel-docker-opts.service`, it's passed the flag `-d /run/flannel/flannel_docker_opts.env`, which should override that."}}
{"actor":{"display_login":"euank"}}