{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4021","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4021/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4021/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4021/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4021","id":56256789,"number":4021,"title":"Etcd data dir must be empty","user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T16:18:35Z","updated_at":"2015-02-02T16:21:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/4021","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4021","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4021.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4021.patch"},"body":"With the version-bump to the latest version of etcd, etcd gets confused if there are any non-etcd files in its datadir.  It gives the error \"unknown wal version in data dir /var/etcd\" and fails to start.\r\n\r\nWhen this is the homedir for etcd, we get e.g. bash profile files in there.\r\n\r\nI don't think this affects GCE, because GCE uses the persistent disk \"switcheroo\" for /var/etcd\r\n\r\nI'm not entirely sure whether this is compatible with GCE / other platforms... But this error took me by surprise this morning, so I wanted to at least get the error message \"unknown wal version in data dir /var/etcd\" into the GitHub issue search :-)"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/72485610","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/4021#issuecomment-72485610","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4021","id":72485610,"user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T16:21:11Z","updated_at":"2015-02-02T16:21:11Z","body":"LGTM"}}