Skip to content

Instantly share code, notes, and snippets.

View natea's full-sized avatar

Nate Aune natea

View GitHub Profile
==> default: applied_all = check_migration_histories(applied_all, delete_ghosts, ignore_ghosts)
==> default: File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/south/migration/__init__.py", line 88, in check_migration_histories
==> default: raise exceptions.GhostMigrations(ghosts)
==> default: south.exceptions.GhostMigrations:
==> default:
==> default: ! These migrations are in the database but not on disk:
==> default: <student: 0043_auto__add_linkedinaddtoprofileconfiguration>
==> default: <student: 0044_rename_linkedin_config_field>
==> default: <embargo: 0002_add_country_access_models>
==> default: <embargo: 0003_add_countries>
edxapp@precise64:~/edx-platform$ python manage.py lms syncdb --migrate --settings devstack
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Migrating...
Traceback (most recent call last):
File "manage.py", line 116, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
edxapp@precise64:~/edx-platform$ python manage.py cms --settings=devstack migratepython manage.py cms --settings=devstack migrate^C
edxapp@precise64:~/edx-platform$ python manage.py cms --settings=devstack migrate
Traceback (most recent call last):
File "manage.py", line 116, 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
Mar 17 11:07:53 docker-production acpid: waiting for events: event logging is off
Mar 17 11:07:53 docker-production kernel: [ 5.369647] cgroup: systemd-logind (1130) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
Mar 17 11:07:53 docker-production kernel: [ 5.369654] cgroup: "memory" requires setting use_hierarchy to 1 on the root.
Mar 17 11:07:53 docker-production kernel: [ 5.630984] Bridge firewalling registered
Mar 17 11:07:53 docker-production kernel: [ 5.632356] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
Mar 17 11:07:55 docker-production kernel: [ 7.904119] init: plymouth-upstart-bridge main process ended, respawning
Mar 17 11:08:03 docker-production ntpdate[943]: step time server 91.189.89.199 offset 0.128412 sec
Mar 17 11:08:12 docker-production kernel: [ 24.554267] random: nonblocking pool is initialized
Mar 17 11:08:14 docker-production ntpdate[1631]: adjust time server 91.189.94.4 offs
TASK: [app_deployment | Clone app repo] ***************************************
failed: [192.168.33.10] => {"failed": true}
msg: github.com has an unknown hostkey. Set accept_hostkey to True or manually add the hostkey prior to running the git module
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/nateaune/site.retry
192.168.33.10 : ok=53 changed=7 unreachable=0 failed=1
TASK: [app_deployment | Run syncdb] *******************************************
failed: [104.236.251.189] => {"cmd": "python manage.py syncdb --noinput --settings=launcher.settings.production --pythonpath=/opt/launcher/launcher", "failed": true, "path": "/opt/venv/launcher/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "state": "absent", "syspath": ["/root/.ansible/tmp/ansible-tmp-1424892135.32-280480941851882", "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg", "/usr/lib/python2.7", "/usr/lib/python2.7/plat-x86_64-linux-gnu", "/usr/lib/python2.7/lib-tk", "/usr/lib/python2.7/lib-old", "/usr/lib/python2.7/lib-dynload", "/usr/local/lib/python2.7/dist-packages", "/usr/lib/python2.7/dist-packages"]}
msg:
:stderr: CommandError: Conflicting migrations detected (0002_project_arguments, 0002_customdomainmapping in deployment).
To fix them run 'python manage.py makemigrations --merge'
FATAL: all hosts have already failed -- aborting
PLAY RECAP *************
NOTIFIED: [supervisor | restart processes managed by supervisor] **************
failed: [104.236.251.189] => {"changed": true, "cmd": ["supervisorctl", "restart", "all"], "delta": "0:00:00.114380", "end": "2015-02-25 13:58:46.057736", "rc": 2, "start": "2015-02-25 13:58:45.943356"}
stdout: error: <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib/python2.7/xmlrpclib.py line: 793
FATAL: all hosts have already failed -- aborting
NOTIFIED: [supervisor | restart processes managed by supervisor] **************
FATAL: no hosts matched or all hosts have already failed -- aborting
==> default: TASK: [edxapp | checkout edx-platform repo into {{edxapp_code_dir}}] **********
==> default: failed: [localhost] => {"cmd": ["/usr/bin/git", "clone", "--origin", "origin", "--recursive", "--branch", "named-release/birch.rc3", "https://github.com/edx/edx-platform.git", "/edx/app/edxapp/edx-platform"], "failed": true, "item": "", "rc": 128}
==> default: stderr: Cloning into '/edx/app/edxapp/edx-platform'...
==> default: error: RPC failed; result=56, HTTP code = 200
==> default: fatal: The remote end hung up unexpectedly
==> default: fatal: early EOF
==> default: fatal: index-pack failed
==> default:
==> default: msg: Cloning into '/edx/app/edxapp/edx-platform'...
==> default: error: RPC failed; result=56, HTTP code = 200
/Users/nateaune/google-cloud-sdk/install.sh
Welcome to the Google Cloud SDK!
Traceback (most recent call last):
File "/Users/nateaune/google-cloud-sdk/bin/bootstrapping/install.py", line 8, in <module>
import bootstrapping
File "/Users/nateaune/google-cloud-sdk/bin/bootstrapping/bootstrapping.py", line 17, in <module>
import oauth2client.gce as gce
File "/Users/nateaune/google-cloud-sdk/bin/bootstrapping/../../lib/oauth2client/gce.py", line 27, in <module>
from oauth2client.client import AccessTokenRefreshError
File "/Users/nateaune/google-cloud-sdk/bin/bootstrapping/../../lib/oauth2client/client.py", line 34, in <module>
@natea
natea / CapitalOne website error
Created February 3, 2015 02:10
when logging into CapitalOne travel rewards site: https://travelrewardspn.capitalone.com/PartnerSSO.do
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
JSESSIONID = 16A80BA108B5CA600BFAF3623E357241.pwtpn015a
TPSESSIONID = null
Service = CAPITALONE
TYRG1ST = 7A96529675D31097
--><script type="text/javascript">var jsessionid="16A80BA108B5CA600BFAF3623E357241.pwtpn015a";</script><html lang="en"><head>
<head>
<title>Page Not Found</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />