Last modified: 2014-11-17 21:36:00 UTC
I'm not sure what causes this, but randomly my box will suddenly hang. When this happens I do vagrant halt and then vagrant up. When this is done I hit MySQL errors. When I run vagrant provision I get the following. This might be an issue specifically to me, but I thought I'd put this up here in case there is an underlying problem. I work on a Mac. Stderr from the command: Error: Could not start Service[mysql]: Execution of '/sbin/start mysql' returned 1: Error: /Stage[main]/Mysql/Service[mysql]/ensure: change from stopped to running failed: Could not start Service[mysql]: Execution of '/sbin/start mysql' returned 1: Warning: /Stage[main]/Mysql/Exec[set_mysql_password]: Skipping because of failed dependencies Warning: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[wiki_check_settings]: Skipping because of failed dependencies Warning: /Stage[main]/Mediawiki/Mediawiki::Wiki[devwiki]/Exec[update_wiki_database]: Skipping because of failed dependencies
The next time you run into this problem, could you run: PUPPET_DEBUG=1 vagrant provision | tee mysql_start_fails.log and then attach the generated log file to this bug? Running puppet in debug mode will output a lot more information about what is happening and may help us track down what is preventing the mysql service from stopping. It would be nice to try and debug what is causing the VM to hang in the first place as well. Does it become completely unresponsive (eg will `vagrant ssh` allow you to connect)?
Bulk unassigning bugs from Ori.