My first attempt to use Vagrant (I set it up with Railsbox); After unzipping the myapp-railsbox.zip file, and cd-ing to the railsbox directory, "vagrant up" went happily through many steps, but is now stuck here:
TASK: [unicorn | Create upstart config] *************************************** changed: [myapp] TASK: [webserver | Create and migrate DB] ************************************* I poked around in /var/log, and found this in /var/log/chef/client.log [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> [2015-03-10T19:14:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef -stacktrace.out [2015-03-10T19:14:21+00:00] ERROR: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests! [2015-03-10T19:14:21+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) [2015-03-10T19:14:21+00:00] ERROR: Sleeping for 1800 seconds before trying again So I guess that's the source of the problem: missing /etc/chef/validation.pem. Googling around hasn't helped. Any thoughts or advice? -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
