{"action":"opened","issue":{"url":"https://api.github.com/repos/andreychernih/railsbox/issues/15","labels_url":"https://api.github.com/repos/andreychernih/railsbox/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/andreychernih/railsbox/issues/15/comments","events_url":"https://api.github.com/repos/andreychernih/railsbox/issues/15/events","html_url":"https://github.com/andreychernih/railsbox/issues/15","id":60581107,"number":15,"title":"vagrant up stuck at \"create and migrate db\". log says \"I cannot read /etc/chef/validation.pem\"","user":{"login":"lmorris99","id":56812,"avatar_url":"https://avatars.githubusercontent.com/u/56812?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorris99","html_url":"https://github.com/lmorris99","followers_url":"https://api.github.com/users/lmorris99/followers","following_url":"https://api.github.com/users/lmorris99/following{/other_user}","gists_url":"https://api.github.com/users/lmorris99/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorris99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorris99/subscriptions","organizations_url":"https://api.github.com/users/lmorris99/orgs","repos_url":"https://api.github.com/users/lmorris99/repos","events_url":"https://api.github.com/users/lmorris99/events{/privacy}","received_events_url":"https://api.github.com/users/lmorris99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T22:36:16Z","updated_at":"2015-03-10T22:36:16Z","closed_at":null,"body":"My first attempt to use Vagrant (I set it up with Railsbox);\r\nAfter unzipping the myapp-railsbox.zip file, and cd-ing to the railsbox directory,\r\n\"vagrant up\" went happily through many steps, but is now stuck here:\r\n\r\n\r\nTASK: [unicorn | Create upstart config] *************************************** \r\n\r\nchanged: [myapp] \r\n\r\nTASK: [webserver | Create and migrate DB] *************************************\r\n\r\nI poked around in /var/log, and found this in /var/log/chef/client.log\r\n[2015-03-10T19:14:21+00:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/validation.pem> \r\n\r\n[2015-03-10T19:14:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out \r\n\r\n[2015-03-10T19:14:21+00:00] ERROR: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests! \r\n\r\n[2015-03-10T19:14:21+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) \r\n\r\n[2015-03-10T19:14:21+00:00] ERROR: Sleeping for 1800 seconds before trying again\r\n\r\n\r\nSo I guess that's the source of the problem: missing /etc/chef/validation.pem. \r\n\r\nGoogling around hasn't helped.\r\n\r\nAny thoughts or advice? "}}