{"action":"created","issue":{"url":"https://api.github.com/repos/jlund/streisand/issues/414","repository_url":"https://api.github.com/repos/jlund/streisand","labels_url":"https://api.github.com/repos/jlund/streisand/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/jlund/streisand/issues/414/comments","events_url":"https://api.github.com/repos/jlund/streisand/issues/414/events","html_url":"https://github.com/jlund/streisand/issues/414","id":179168302,"number":414,"title":"Cannot connect to GCE instance after restart","user":{"login":"FlyClover","id":186422,"avatar_url":"https://avatars.githubusercontent.com/u/186422?v=3","gravatar_id":"","url":"https://api.github.com/users/FlyClover","html_url":"https://github.com/FlyClover","followers_url":"https://api.github.com/users/FlyClover/followers","following_url":"https://api.github.com/users/FlyClover/following{/other_user}","gists_url":"https://api.github.com/users/FlyClover/gists{/gist_id}","starred_url":"https://api.github.com/users/FlyClover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlyClover/subscriptions","organizations_url":"https://api.github.com/users/FlyClover/orgs","repos_url":"https://api.github.com/users/FlyClover/repos","events_url":"https://api.github.com/users/FlyClover/events{/privacy}","received_events_url":"https://api.github.com/users/FlyClover/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T08:32:08Z","updated_at":"2016-10-21T08:20:01Z","closed_at":null,"body":"I cannot connect to my GCE instance (asia-east) after restarting it. There's no change in the instance's IP address. There is an issue where people cannot connect to their AWS instance using OpenVPN. But in my case none of the connection methods work. I use the latest code to setup my instance."},"comment":{"url":"https://api.github.com/repos/jlund/streisand/issues/comments/255322543","html_url":"https://github.com/jlund/streisand/issues/414#issuecomment-255322543","issue_url":"https://api.github.com/repos/jlund/streisand/issues/414","id":255322543,"user":{"login":"FlyClover","id":186422,"avatar_url":"https://avatars.githubusercontent.com/u/186422?v=3","gravatar_id":"","url":"https://api.github.com/users/FlyClover","html_url":"https://github.com/FlyClover","followers_url":"https://api.github.com/users/FlyClover/followers","following_url":"https://api.github.com/users/FlyClover/following{/other_user}","gists_url":"https://api.github.com/users/FlyClover/gists{/gist_id}","starred_url":"https://api.github.com/users/FlyClover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlyClover/subscriptions","organizations_url":"https://api.github.com/users/FlyClover/orgs","repos_url":"https://api.github.com/users/FlyClover/repos","events_url":"https://api.github.com/users/FlyClover/events{/privacy}","received_events_url":"https://api.github.com/users/FlyClover/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T08:20:01Z","updated_at":"2016-10-21T08:20:01Z","body":"I think I've found the cause. In /etc/network/interfaces.d/50-cloud-init.cfg, it says\r\n```\r\n# This file is generated from information provided by\r\n# the datasource.  Changes to it will not persist across an instance.\r\n# To disable cloud-init's network configuration capabilities, write a file\r\n# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:\r\n# network: {config: disabled}\r\n\r\n```\r\n\r\nSo I guess Google's cloud-init's script reset network interface configuration after instance restart. I tried manually disable this feature as said in the instruction above and my instance works perfectly after restart."}}
{"actor":{"display_login":"FlyClover"}}