Page MenuHomePhabricator

vagrant provision dies on mysql error
Closed, DeclinedPublic

Description

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


Version: unspecified
Severity: normal

Details

Reference
bz69413

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz69413.
bzimport added a subscriber: Unknown Object (MLST).

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.

bd808 changed the task status from Open to Stalled.Dec 30 2014, 12:33 AM
bd808 triaged this task as Low priority.
Aklapper edited subscribers, added: Aklapper; removed: wikibugs-l-list.

Unfortunately closing this Phabricator task as no further information has been provided.

@Jdlrobson: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!