Created
April 28, 2014 11:46
-
-
Save kenju254/11369316 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [edxapp | create auth file] ******************************************** | |
ok: [localhost] => (item=lms) | |
ok: [localhost] => (item=cms) | |
TASK: [edxapp | writing supervisor script] *********************************** | |
ok: [localhost] => (item=lms) | |
ok: [localhost] => (item=cms) | |
TASK: [edxapp | writing edxapp supervisor script] ***************************** | |
ok: [localhost] | |
TASK: [edxapp | writing celery worker supervisor script] ********************** | |
ok: [localhost] | |
TASK: [edxapp | enable supervisor script] ************************************ | |
skipping: [localhost] => (item=lms) | |
skipping: [localhost] => (item=cms) | |
TASK: [edxapp | enable edxapp supervisor script] ****************************** | |
skipping: [localhost] | |
TASK: [edxapp | enable celery worker supervisor script] *********************** | |
ok: [localhost] | |
TASK: [edxapp | syncdb and migrate] ******************************************* | |
skipping: [localhost] | |
TASK: [edxapp | syncdb and migrate] ******************************************* | |
skipping: [localhost] | |
TASK: [edxapp | syncdb and migrate] ******************************************* | |
failed: [localhost] => {"changed": true, "cmd": " /edx/app/edxapp/venvs/edxapp/bin/python manage.py lms syncdb --migrate --noinput --settings=aws_migrate ", "delta": "0:00:02.417404", "end": "2014-04-28 07:44:10.830954", "item": "", "rc": 1, "start": "2014-04-28 07:44:08.413550"} | |
stderr: 2014-04-28 07:44:09,620 INFO 5754 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125 | |
Traceback (most recent call last): | |
File "manage.py", line 95, in <module> | |
execute_from_command_line([sys.argv[0]] + django_args) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 231, in execute | |
self.validate() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py", line 266, in validate | |
num_errors = get_validation_errors(s, app) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/validation.py", line 103, in get_validation_errors | |
connection.validation.validate_field(e, opts, f) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/validation.py", line 14, in validate_field | |
db_version = self.connection.get_server_version() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 415, in get_server_version | |
self.cursor().close() | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 319, in cursor | |
cursor = util.CursorWrapper(self._cursor(), self) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 387, in _cursor | |
self.connection = Database.connect(**kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect | |
return Connection(*args, **kwargs) | |
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__ | |
super(Connection, self).__init__(*args, **kwargs2) | |
_mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)") | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/root/edx_sandbox.retry | |
localhost : ok=153 changed=31 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment