Last modified: 2014-11-17 21:36:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71413, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69413 - vagrant provision dies on mysql error
vagrant provision dies on mysql error
Status: UNCONFIRMED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-11 21:17 UTC by Jon
Modified: 2014-11-17 21:36 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jon 2014-08-11 21:17:40 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
Comment 1 Bryan Davis 2014-09-05 04:43:10 UTC
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)?
Comment 2 Bryan Davis 2014-11-17 21:36:00 UTC
Bulk unassigning bugs from Ori.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links