Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created August 7, 2013 18:51
Show Gist options
  • Save singingwolfboy/6177234 to your computer and use it in GitHub Desktop.
Save singingwolfboy/6177234 to your computer and use it in GitHub Desktop.
TASK: [Create ruby base] ******************************************************
ok: [192.168.33.10] => {"changed": false, "gid": 1005, "group": "www", "item": "", "mode": "0755", "owner": "www", "path": "/opt/www", "size": 4096, "state": "directory", "uid": 1002}
TASK: [rbenv | install build depends] *****************************************
ok: [192.168.33.10] => (item=build-essential,git,libcurl4-openssl-dev,libmysqlclient-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev) => {"changed": false, "item": "build-essential,git,libcurl4-openssl-dev,libmysqlclient-dev,libreadline-dev,libssl-dev,libxml2-dev,libxslt1-dev,zlib1g-dev"}
TASK: [rbenv | update rbenv repo] *********************************************
ok: [192.168.33.10] => {"after": "9375e99", "before": "9375e99", "changed": false, "item": ""}
TASK: [rbenv | add rbenv to path] *********************************************
ok: [192.168.33.10] => {"changed": false, "dest": "/usr/local/bin/rbenv", "gid": 0, "group": "root", "item": "", "mode": "0777", "owner": "root", "size": 25, "src": "/opt/www/.rbenv/bin/rbenv", "state": "link", "uid": 0}
TASK: [rbenv | add rbenv initialization to profile] ***************************
ok: [192.168.33.10] => {"changed": false, "gid": 0, "group": "root", "item": "", "mode": "0755", "owner": "root", "path": "/etc/profile.d/rbenv.sh", "size": 129, "state": "file", "uid": 0}
TASK: [rbenv | check ruby-build installed] ************************************
changed: [192.168.33.10] => {"changed": true, "cmd": ["test", "-x", "/usr/local/bin/ruby-build"], "delta": "0:00:00.006092", "end": "2013-08-07 18:50:06.457214", "item": "", "rc": 0, "start": "2013-08-07 18:50:06.451122", "stderr": "", "stdout": ""}
TASK: [rbenv | create temporary directory] ************************************
skipping: [192.168.33.10]
TASK: [rbenv | clone ruby-build repo] *****************************************
skipping: [192.168.33.10]
TASK: [rbenv | install ruby-build] ********************************************
skipping: [192.168.33.10]
TASK: [rbenv | remove temporary directory] ************************************
skipping: [192.168.33.10]
TASK: [rbenv | check ruby 1.9.3-p374 installed] *******************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv rbenv versions | grep 1.9.3-p374 ", "delta": "0:00:00.115958", "end": "2013-08-07 18:50:07.020683", "item": "", "rc": 0, "start": "2013-08-07 18:50:06.904725", "stderr": "", "stdout": "* 1.9.3-p374 (set by /opt/www/.rbenv/version)"}
TASK: [rbenv | install ruby 1.9.3-p374] ***************************************
skipping: [192.168.33.10]
TASK: [rbenv | set global ruby 1.9.3-p374] ************************************
skipping: [192.168.33.10]
TASK: [rbenv | rehash] ********************************************************
skipping: [192.168.33.10]
TASK: [stop edxapp services] **************************************************
skipping: [192.168.33.10]
TASK: [stop edx workers] ******************************************************
ok: [192.168.33.10] => {"changed": false, "item": "", "name": "edx-workers", "state": "stopped"}
TASK: [git checkout edx-platform repo into /opt/wwc] **************************
ok: [192.168.33.10] => {"after": "9728dce", "before": "9728dce", "changed": false, "item": ""}
TASK: [create platform code dir] **********************************************
ok: [192.168.33.10] => {"changed": false, "gid": 33, "group": "www-data", "item": "", "mode": "0755", "owner": "www-data", "path": "/opt/wwc/edx-platform", "size": 4096, "state": "directory", "uid": 33}
TASK: [checkout theme] ********************************************************
skipping: [192.168.33.10]
TASK: [sets permissions on platform code dir and contents] ********************
changed: [192.168.33.10] => {"changed": true, "gid": 33, "group": "www-data", "item": "", "mode": "0755", "owner": "www-data", "path": "/opt/wwc/edx-platform", "size": 4096, "state": "directory", "uid": 33}
TASK: [gem | gem install bundler] *********************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv GEM_HOME=/opt/www/.gem /opt/www/.rbenv/shims/gem install bundle ", "delta": "0:00:01.943365", "end": "2013-08-07 18:50:21.601389", "item": "", "rc": 0, "start": "2013-08-07 18:50:19.658024", "stderr": "file 'lib' not found\nfile 'lib' not found", "stdout": "Successfully installed bundle-0.0.1\n1 gem installed\nInstalling ri documentation for bundle-0.0.1...\nInstalling RDoc documentation for bundle-0.0.1..."}
TASK: [bundle | bundle install] ***********************************************
changed: [192.168.33.10] => {"changed": true, "cmd": "RBENV_ROOT=/opt/www/.rbenv GEM_HOME=/opt/www/.gem /opt/www/.gem/bin/bundle install --binstubs ", "delta": "0:00:00.367166", "end": "2013-08-07 18:50:22.167552", "item": "", "rc": 0, "start": "2013-08-07 18:50:21.800386", "stderr": "", "stdout": "Using rake (10.0.4) \nUsing addressable (2.3.5) \nUsing sass (3.2.9) \nUsing thor (0.18.1) \nUsing bourbon (3.1.8) \nUsing colorize (0.5.8) \nUsing launchy (2.1.2) \nUsing neat (1.3.0) \nUsing sys-proctable (0.9.3) \nUsing bundler (1.3.5) \nYour bundle is complete!\nUse `bundle show [gemname]` to see where a bundled gem is installed."}
TASK: [Install edx-platform npm dependencies] *********************************
changed: [192.168.33.10] => {"changed": true, "cmd": "npm install ", "delta": "0:00:00.459573", "end": "2013-08-07 18:50:22.817207", "item": "", "rc": 0, "start": "2013-08-07 18:50:22.357634", "stderr": "npm WARN [email protected] package.json: bugs['name'] should probably be bugs['url']", "stdout": ""}
TASK: [install python pre-requirements] ***************************************
ok: [192.168.33.10] => {"changed": false, "cmd": "/opt/edx/bin/pip install -r /opt/wwc/edx-platform/requirements/edx/pre.txt", "item": "", "name": null, "requirements": "/opt/wwc/edx-platform/requirements/edx/pre.txt", "state": "present", "stderr": "", "stdout": "Requirement already satisfied (use --upgrade to upgrade): numpy==1.6.2 in /opt/edx/lib/python2.7/site-packages (from -r /opt/wwc/edx-platform/requirements/edx/pre.txt (line 3))\nCleaning up...\n", "version": null, "virtualenv": "/opt/edx"}
TASK: [install python base-requirements] **************************************
failed: [192.168.33.10] => {"changed": true, "cmd": "cd /opt/wwc/edx-platform && /opt/edx/bin/pip install --exists-action w --use-mirrors -r /opt/wwc/edx-platform/requirements/edx/base.txt ", "delta": "0:00:05.284939", "end": "2013-08-07 18:50:29.097628", "item": "", "rc": 1, "start": "2013-08-07 18:50:23.812689"}
stderr: error: The requested URL returned error: 403 while accessing https://github.com/edx/django-wiki.git/info/refs
fatal: HTTP request failed
stdout: Obtaining file:///opt/wwc/edx-platform/common/lib/calc (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 2))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/calc
Obtaining file:///opt/wwc/edx-platform/common/lib/capa (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 3))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/capa
Obtaining file:///opt/wwc/edx-platform/common/lib/chem (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 4))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/chem
Obtaining file:///opt/wwc/edx-platform/common/lib/sandbox-packages (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 5))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/sandbox-packages
Obtaining file:///opt/wwc/edx-platform/common/lib/symmath (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 6))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/symmath
Obtaining file:///opt/wwc/edx-platform/common/lib/xmodule (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 7))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform/common/lib/xmodule
Obtaining file:///opt/wwc/edx-platform (from -r /opt/wwc/edx-platform/requirements/edx/local.txt (line 8))
Running setup.py egg_info for package from file:///opt/wwc/edx-platform
Downloading/unpacking git+https://github.com/mfogel/django-settings-context-processor.git (from -r /opt/wwc/edx-platform/requirements/edx/base.txt (line 92))
Cloning https://github.com/mfogel/django-settings-context-processor.git to /tmp/pip-9nzx6y-build
Running setup.py egg_info for package from git+https://github.com/mfogel/django-settings-context-processor.git
Obtaining django-staticfiles from git+https://github.com/edx/django-staticfiles.git@6d2504e5c8#egg=django-staticfiles (from -r /opt/wwc/edx-platform/requirements/edx/github.txt (line 4))
Updating /opt/edx/src/django-staticfiles clone (to 6d2504e5c8)
Could not find a tag or branch '6d2504e5c8', assuming commit.
Running setup.py egg_info for package django-staticfiles
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Obtaining django-pipeline from git+https://github.com/edx/django-pipeline.git#egg=django-pipeline (from -r /opt/wwc/edx-platform/requirements/edx/github.txt (line 5))
Updating /opt/edx/src/django-pipeline clone
Running setup.py egg_info for package django-pipeline
Obtaining django-wiki from git+https://github.com/edx/django-wiki.git@41815e2ef1b0323f92900f8e60711b0f0c37766b#egg=django-wiki (from -r /opt/wwc/edx-platform/requirements/edx/github.txt (line 6))
Updating /opt/edx/src/django-wiki clone (to 41815e2ef1b0323f92900f8e60711b0f0c37766b)
Complete output from command /usr/bin/git fetch -q:
----------------------------------------
Cleaning up...
Command /usr/bin/git fetch -q failed with error code 128 in /opt/edx/src/django-wiki
Storing complete log in /root/.pip/pip.log
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/var/tmp/ansible/vagrant-shortstack.retry
192.168.33.10 : ok=178 changed=136 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment