{"action":"created","issue":{"url":"https://api.github.com/repos/caktus/django-project-template/issues/281","repository_url":"https://api.github.com/repos/caktus/django-project-template","labels_url":"https://api.github.com/repos/caktus/django-project-template/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/caktus/django-project-template/issues/281/comments","events_url":"https://api.github.com/repos/caktus/django-project-template/issues/281/events","html_url":"https://github.com/caktus/django-project-template/pull/281","id":194775634,"number":281,"title":"Fix vagrant environment","user":{"login":"vkurup","id":4413,"avatar_url":"https://avatars.githubusercontent.com/u/4413?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurup","html_url":"https://github.com/vkurup","followers_url":"https://api.github.com/users/vkurup/followers","following_url":"https://api.github.com/users/vkurup/following{/other_user}","gists_url":"https://api.github.com/users/vkurup/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurup/subscriptions","organizations_url":"https://api.github.com/users/vkurup/orgs","repos_url":"https://api.github.com/users/vkurup/repos","events_url":"https://api.github.com/users/vkurup/events{/privacy}","received_events_url":"https://api.github.com/users/vkurup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-10T15:57:33Z","updated_at":"2016-12-12T19:05:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caktus/django-project-template/pulls/281","html_url":"https://github.com/caktus/django-project-template/pull/281","diff_url":"https://github.com/caktus/django-project-template/pull/281.diff","patch_url":"https://github.com/caktus/django-project-template/pull/281.patch"},"body":"NOTE: This should be reviewed after #280 (Xenial upgrade) is merged because I did all my testing with those changes in place.\r\n\r\nIssues addressed:\r\n- Require upgrade of vagrant to version >= 1.8.7 because using a private networking address was fixed in that version. (I tested with the latest vagrant, which is 1.9.1)\r\n- Because of the broken networking, we had switched to using 127.0.0.1:2222 in some places, but since it's working, I reverted those all to use 33.33.33.10 again\r\n- NPM install caused OOM errors, so I had to bump the VM memory up to 2G\r\n- Even after bumping up the memory, I was getting strange kernel errors which would cause the VM to be unreachable. If I was logged into the server at the time, all commands would result in an input/output error. Finally found this [issue](https://bugs.launchpad.net/cloud-images/+bug/1616794) which refers to a VirtualBox problem causing VM corruption. Fortunately this has just been fixed in VirtualBox, but it requires you to uninstall the Ubuntu-provided VirtualBox and use the latest stable deploy from Oracle. I tested it, and it works. I added a check during the 'fab vagrant deploy' step to make sure that the vbox version was good before proceeding. (Couldn't figure out a way to do it cleanly in the 'vagrant up' step)\r\n- Use a xenial box image\r\n- The username on the xenial box image has changed from 'vagrant' to 'ubuntu'. Rather than hardcoding it again, I added code to get the proper username from vagrant and then to send that info via the pillar to margarita. See https://github.com/caktus/margarita/pull/148, which needs to be merged for this to work.\r\n"},"comment":{"url":"https://api.github.com/repos/caktus/django-project-template/issues/comments/266520894","html_url":"https://github.com/caktus/django-project-template/pull/281#issuecomment-266520894","issue_url":"https://api.github.com/repos/caktus/django-project-template/issues/281","id":266520894,"user":{"login":"vkurup","id":4413,"avatar_url":"https://avatars.githubusercontent.com/u/4413?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurup","html_url":"https://github.com/vkurup","followers_url":"https://api.github.com/users/vkurup/followers","following_url":"https://api.github.com/users/vkurup/following{/other_user}","gists_url":"https://api.github.com/users/vkurup/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurup/subscriptions","organizations_url":"https://api.github.com/users/vkurup/orgs","repos_url":"https://api.github.com/users/vkurup/repos","events_url":"https://api.github.com/users/vkurup/events{/privacy}","received_events_url":"https://api.github.com/users/vkurup/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T19:05:52Z","updated_at":"2016-12-12T19:05:52Z","body":"I only tried once, but yes I hit an OOM error when trying to deploy to a t2.micro, so I've been using t2.small as my minimum for my Xenial tests."}}
{"actor":{"display_login":"vkurup"}}