{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/flannel/issues/162","labels_url":"https://api.github.com/repos/coreos/flannel/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/coreos/flannel/issues/162/comments","events_url":"https://api.github.com/repos/coreos/flannel/issues/162/events","html_url":"https://github.com/coreos/flannel/issues/162","id":71225664,"number":162,"title":"Flannel not picking up etcd_endpoints flag","user":{"login":"tanmaybinaykiya","id":775249,"avatar_url":"https://avatars.githubusercontent.com/u/775249?v=3","gravatar_id":"","url":"https://api.github.com/users/tanmaybinaykiya","html_url":"https://github.com/tanmaybinaykiya","followers_url":"https://api.github.com/users/tanmaybinaykiya/followers","following_url":"https://api.github.com/users/tanmaybinaykiya/following{/other_user}","gists_url":"https://api.github.com/users/tanmaybinaykiya/gists{/gist_id}","starred_url":"https://api.github.com/users/tanmaybinaykiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanmaybinaykiya/subscriptions","organizations_url":"https://api.github.com/users/tanmaybinaykiya/orgs","repos_url":"https://api.github.com/users/tanmaybinaykiya/repos","events_url":"https://api.github.com/users/tanmaybinaykiya/events{/privacy}","received_events_url":"https://api.github.com/users/tanmaybinaykiya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T09:06:12Z","updated_at":"2015-04-27T19:33:26Z","closed_at":null,"body":"I am installing flannel on a coreos machine on aws using a cloud-config file. \r\nI provide the etcd_endpoints flag and point it to my etcd cluster. Yet the journalctl shows flannel trying to retrieve from http://localhost:4001 and flannel install fails. "},"comment":{"url":"https://api.github.com/repos/coreos/flannel/issues/comments/96790266","html_url":"https://github.com/coreos/flannel/issues/162#issuecomment-96790266","issue_url":"https://api.github.com/repos/coreos/flannel/issues/162","id":96790266,"user":{"login":"jcollie","id":740022,"avatar_url":"https://avatars.githubusercontent.com/u/740022?v=3","gravatar_id":"","url":"https://api.github.com/users/jcollie","html_url":"https://github.com/jcollie","followers_url":"https://api.github.com/users/jcollie/followers","following_url":"https://api.github.com/users/jcollie/following{/other_user}","gists_url":"https://api.github.com/users/jcollie/gists{/gist_id}","starred_url":"https://api.github.com/users/jcollie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcollie/subscriptions","organizations_url":"https://api.github.com/users/jcollie/orgs","repos_url":"https://api.github.com/users/jcollie/repos","events_url":"https://api.github.com/users/jcollie/events{/privacy}","received_events_url":"https://api.github.com/users/jcollie/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T19:33:26Z","updated_at":"2015-04-27T19:33:26Z","body":"The documentation regarding command-line flags (including the built-in help) is incorrect.  I got this to work:\r\n\r\n    flanneld -ip-masq -etcd-endpoints https://127.0.0.1:2379 -etcd-cafile /etc/etcd/ca.crt -etcd-certfile /etc/etcd/host.crt -etcd-keyfile /etc/etcd/host.key\r\n\r\nNote the *lack* of equal signs.  A lot of CoreOS' tools have similar problems.  A lot of it has to do with the fact that people are used to GNU getopt-style command line parsing where \"--opt=value\" is equivalent to \"--opt value\".  The Go \"flag\" library claims to do the same thing but clearly doesn't."}}