Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created October 24, 2014 15:52
Show Gist options
  • Save singingwolfboy/d2a58cf8a89660d6dbd7 to your computer and use it in GitHub Desktop.
Save singingwolfboy/d2a58cf8a89660d6dbd7 to your computer and use it in GitHub Desktop.
db ~/devstack2 mastodon
% vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: VirtualBox VM is already running.
==> default: Checking for host entries
db ~/devstack2 mastodon
% vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
*******************************************************************
* _ __ __ *
* _ _| |\ \/ / *
* / -_) _` | > < *
* \___\__,_|/_/\_\ *
* *
* Instructions and troubleshooting: *
* https://github.com/edx/configuration/wiki/edX-Developer-Stack *
*******************************************************************
Last login: Thu Oct 9 16:07:54 2014 from 10.0.2.2
vagrant@precise64:~$ sudo su edxapp
edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
bundle install --quiet
---> pavelib.prereqs.install_node_prereqs
test `npm config get registry` = "http://registry.npmjs.org/" || (echo setting registry; npm config set registry http://registry.npmjs.org/)
npm install
npm WARN package.json [email protected] No repository field.
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch 'cccc3978ad2df82a78b6f9648fe2e9baddd22f88', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch '813079fd5218ed275248d2a1fcae2fcbf20a0838', assuming commit.
Could not find a tag or branch 'd175715e0fe3367ec0f1ee429c242d603f6e8b10', assuming commit.
Could not find a tag or branch '81a6d713c98d4914af96a0ca624ee7fa4903625e', assuming commit.
Could not find a tag or branch '71f5c5616e2a73ae8cecd1ff2362774a773d3665', assuming commit.
Could not find a tag or branch '823a102e48', assuming commit.
Could not find a tag or branch 'c2264bdd604eb0a603afa5d88c884edfdeb8089a', assuming commit.
Could not find a tag or branch '2e6eab960a97fe41778292fe8e1b2f0b69a1be2d', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch '459aff7b63db8f2c5decd1755706c1a64fb4ebb1', assuming commit.
Could not find a tag or branch 'a7c506befdf9b97bbbb6961e0b0c7fa4807003eb', assuming commit.
Could not find a tag or branch '97de68448e5495385ba043d3091f570a699d5b5f', assuming commit.
Could not find a tag or branch '0d7847f9dfa2281640527b4dc51f5854f950f9b7', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
pip install -q --exists-action w -r requirements/edx/post.txt
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets
xmodule_assets common/static/xmodule
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static
write cms/static/sass/style-app-extend1.css
write cms/static/sass/style-app-extend1.css.map
write cms/static/sass/style-app.css
write cms/static/sass/style-app.css.map
write cms/static/sass/style-xmodule.css
write cms/static/sass/style-xmodule.css.map
write lms/static/sass/application-extend1.css
write lms/static/sass/application-extend1.css.map
write lms/static/sass/application-extend2.css
write lms/static/sass/application-extend2.css.map
write lms/static/sass/application.css
write lms/static/sass/application.css.map
write lms/static/sass/course.css
write lms/static/sass/course.css.map
write lms/static/sass/ie.css
write lms/static/sass/ie.css.map
---> pavelib.assets.watch_assets
find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"
Starting asset watcher...
Enter CTL-C to end
Validating models...
0 errors found
Django version 1.4.12, using settings 'lms.envs.devstack'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
...HTTP requests removed for brevity...
^C
Ending...
Processes ending
Killed
edxapp@precise64:~/edx-platform$ git remote add Stanford-Online https://github.com/Stanford-Online/edx-platform.git
edxapp@precise64:~/edx-platform$ git fetch Stanford-Online
remote: Counting objects: 1970, done.
remote: Compressing objects: 100% (1214/1214), done.
remote: Total 1970 (delta 1308), reused 1140 (delta 753)
Receiving objects: 100% (1970/1970), 1.12 MiB | 54.00 KiB/s, done.
Resolving deltas: 100% (1308/1308), done.
From https://github.com/Stanford-Online/edx-platform
* [new branch] ataki/gridfs -> Stanford-Online/ataki/gridfs
* [new branch] ataki/timed_exams -> Stanford-Online/ataki/timed_exams
* [new branch] ataki/upstream -> Stanford-Online/ataki/upstream
* [new branch] caijim/emaillist -> Stanford-Online/caijim/emaillist
* [new branch] caijim/resetbutton -> Stanford-Online/caijim/resetbutton
* [new branch] dcadams/analytics -> Stanford-Online/dcadams/analytics
* [new branch] dcadams/analytics_1 -> Stanford-Online/dcadams/analytics_1
* [new branch] dcadams/fix_vid_transcript_dl -> Stanford-Online/dcadams/fix_vid_transcript_dl
* [new branch] dcadams/make_registration_button_conditional -> Stanford-Online/dcadams/make_registration_button_conditional
* [new branch] dcadams/refactor_advanced_component_types -> Stanford-Online/dcadams/refactor_advanced_component_types
* [new branch] dcadams/trbm/hints -> Stanford-Online/dcadams/trbm/hints
* [new branch] dcadams/trbm/hints_PR -> Stanford-Online/dcadams/trbm/hints_PR
* [new branch] dcadams/upstream_master -> Stanford-Online/dcadams/upstream_master
* [new branch] dylanrhodes/cme_data_dump -> Stanford-Online/dylanrhodes/cme_data_dump
* [new branch] dylanrhodes/ora2_instructor_button -> Stanford-Online/dylanrhodes/ora2_instructor_button
* [new branch] giulio/course-about-font-awesomize -> Stanford-Online/giulio/course-about-font-awesomize
* [new branch] giulio/help-modal-tweaks -> Stanford-Online/giulio/help-modal-tweaks
* [new branch] giulio/local-image-modal-bugfix -> Stanford-Online/giulio/local-image-modal-bugfix
* [new branch] giulio/stv-rc -> Stanford-Online/giulio/stv-rc
* [new branch] jbau/edx-west/cybersource2 -> Stanford-Online/jbau/edx-west/cybersource2
* [new branch] jbau/parallel-unit-tests -> Stanford-Online/jbau/parallel-unit-tests
* [new branch] jbau/stv/upstream-release -> Stanford-Online/jbau/stv/upstream-release
* [new branch] jbau/upstream-master -> Stanford-Online/jbau/upstream-master
* [new branch] jrbl/WIP-sccme_userdump-DNM-new -> Stanford-Online/jrbl/WIP-sccme_userdump-DNM-new
* [new branch] jrbl/WIP-sccme_userdump-DNM-newer -> Stanford-Online/jrbl/WIP-sccme_userdump-DNM-newer
* [new branch] jrbl/jbau-platform-settings-with-fields -> Stanford-Online/jrbl/jbau-platform-settings-with-fields
* [new branch] jrbl/test_release -> Stanford-Online/jrbl/test_release
* [new branch] jrbl/trackchanges_plumbing -> Stanford-Online/jrbl/trackchanges_plumbing
* [new branch] jrbl/trackchanges_plumbing-dnm-pr-test -> Stanford-Online/jrbl/trackchanges_plumbing-dnm-pr-test
* [new branch] jrbl/try_import_hotfix -> Stanford-Online/jrbl/try_import_hotfix
* [new branch] jrbl/xblock_platform_settings -> Stanford-Online/jrbl/xblock_platform_settings
* [new branch] kluo/enroll-temp -> Stanford-Online/kluo/enroll-temp
* [new branch] kluo/fix-unicode-email -> Stanford-Online/kluo/fix-unicode-email
* [new branch] kluo/i18n-support-theme -> Stanford-Online/kluo/i18n-support-theme
* [new branch] kluo/student-submission-reports -> Stanford-Online/kluo/student-submission-reports
* [new branch] kluo/tinymce-editor -> Stanford-Online/kluo/tinymce-editor
* [new branch] kluo/tinymce-hell -> Stanford-Online/kluo/tinymce-hell
* [new branch] master -> Stanford-Online/master
* [new branch] mismerged-master-20140714 -> Stanford-Online/mismerged-master-20140714
* [new branch] ndupoux/metrics-page-date-range -> Stanford-Online/ndupoux/metrics-page-date-range
* [new branch] ndupoux/register-page-fix -> Stanford-Online/ndupoux/register-page-fix
* [new branch] new-master-candidate -> Stanford-Online/new-master-candidate
* [new branch] nick/dnm-hint -> Stanford-Online/nick/dnm-hint
* [new branch] nick/hint -> Stanford-Online/nick/hint
* [new branch] nick/hints -> Stanford-Online/nick/hints
* [new branch] nick/not-rick-roll -> Stanford-Online/nick/not-rick-roll
* [new branch] njdup/bulk_emails_keyword_sub -> Stanford-Online/njdup/bulk_emails_keyword_sub
* [new branch] njdupoux/account-activation-on-email-change -> Stanford-Online/njdupoux/account-activation-on-email-change
* [new branch] njdupoux/email-activation-resending -> Stanford-Online/njdupoux/email-activation-resending
* [new branch] njdupoux/start-time-fix -> Stanford-Online/njdupoux/start-time-fix
* [new branch] njdupoux/video-bulk-settings-view -> Stanford-Online/njdupoux/video-bulk-settings-view
* [new branch] rc -> Stanford-Online/rc
* [new branch] rc-20140825 -> Stanford-Online/rc-20140825
* [new branch] rc-with-cybersource-20140826 -> Stanford-Online/rc-with-cybersource-20140826
* [new branch] release -> Stanford-Online/release
* [new branch] sjang92/advanced_settings_feedback -> Stanford-Online/sjang92/advanced_settings_feedback
* [new branch] sjang92/bs_fix -> Stanford-Online/sjang92/bs_fix
* [new branch] sjang92/bulk_settings_rebase -> Stanford-Online/sjang92/bulk_settings_rebase
* [new branch] sjang92/bulksettings_buttonname_fix -> Stanford-Online/sjang92/bulksettings_buttonname_fix
* [new branch] sjang92/email_subject_bugfix -> Stanford-Online/sjang92/email_subject_bugfix
* [new branch] sjang92/enrollment_email_fix -> Stanford-Online/sjang92/enrollment_email_fix
* [new branch] sjang92/keyword_sub_xblockupdate -> Stanford-Online/sjang92/keyword_sub_xblockupdate
* [new branch] sjang92/keyword_substitution -> Stanford-Online/sjang92/keyword_substitution
* [new branch] sjang92/origin/enrollment-email -> Stanford-Online/sjang92/origin/enrollment-email
* [new branch] sjang92/xblock_user_runtime -> Stanford-Online/sjang92/xblock_user_runtime
* [new branch] stv/cybersource2 -> Stanford-Online/stv/cybersource2
* [new branch] stv/jswhat -> Stanford-Online/stv/jswhat
* [new branch] stv/jswhat2 -> Stanford-Online/stv/jswhat2
* [new branch] stv/rc -> Stanford-Online/stv/rc
* [new branch] stv/upgrade -> Stanford-Online/stv/upgrade
* [new branch] stv/upstream-release -> Stanford-Online/stv/upstream-release
* [new branch] stv/xmodule/image-modal -> Stanford-Online/stv/xmodule/image-modal
* [new branch] trbm/hints -> Stanford-Online/trbm/hints
* [new branch] wiki/theme/hotfix -> Stanford-Online/wiki/theme/hotfix
* [new tag] edx-west/release-20140910 -> edx-west/release-20140910
* [new tag] edx-west/release-20140911 -> edx-west/release-20140911
* [new tag] edx-west/release-20140918 -> edx-west/release-20140918
* [new tag] edx-west/release-20140919-hotfix -> edx-west/release-20140919-hotfix
* [new tag] edx-west/release-20140924-hotfix -> edx-west/release-20140924-hotfix
* [new tag] edx-west/release-20141023 -> edx-west/release-20141023
* [new tag] edx-west/release-20141014 -> edx-west/release-20141014
edxapp@precise64:~/edx-platform$ git checkout Stanford-Online/master
Checking out files: 100% (953/953), done.
Note: checking out 'Stanford-Online/master'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 245bb7d... Merge branch 'release'
edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
Ruby prereqs unchanged, skipping...
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
Could not find a tag or branch 'd89aae2a82f2b', assuming commit.
Could not find a tag or branch '88ec8a011e481918fdc9d2682d4017c835acd8be', assuming commit.
Could not find a tag or branch 'cd0b2b31997afccde519fe5b3365e61a9edb143f', assuming commit.
Could not find a tag or branch 'cccc3978ad2df82a78b6f9648fe2e9baddd22f88', assuming commit.
Could not find a tag or branch '776973740bdaad83a3b029f96e415a7d1e8bec2f', assuming commit.
Could not find a tag or branch 'd53fe0e81b623f084e91776bcf6369f8b7b63879', assuming commit.
Could not find a tag or branch '42cb1bb1dc680a60c6452e8bb2b843c2a0382c90', assuming commit.
Could not find a tag or branch '95e69341cebf5a6a9fbf7c4f5439d458898bdc3b', assuming commit.
Could not find a tag or branch 'c5bfa5d361d6685d8c643838fc0055c25f8b7999', assuming commit.
Could not find a tag or branch '81a6d713c98d4914af96a0ca624ee7fa4903625e', assuming commit.
Could not find a tag or branch '66dd5a45e5072666ff9a70c768576e9ffd1daa4b', assuming commit.
Could not find a tag or branch 'c2264bdd604eb0a603afa5d88c884edfdeb8089a', assuming commit.
Could not find a tag or branch '4a259e3548a19e41cc39433caf68ea58d10a27ba', assuming commit.
Could not find a tag or branch '7579d052afcf474ece1239153cffe1c89935bc4f', assuming commit.
Could not find a tag or branch '459aff7b63db8f2c5decd1755706c1a64fb4ebb1', assuming commit.
git clone in /edx/app/edxapp/venvs/edxapp/src/edx-ora2 exists with URL https://github.com/edx/edx-ora2.git
The plan is to install the git repository https://github.com/Stanford-Online/edx-ora2.git
Deleting /edx/app/edxapp/venvs/edxapp/src/edx-ora2
Could not find a tag or branch '844326f094407c4dca9a5f6c1e026732e721a9a5', assuming commit.
Could not find a tag or branch 'd45d0bd8d64c69531be69178b9505b5d38806ce0', assuming commit.
Could not find a tag or branch '97de68448e5495385ba043d3091f570a699d5b5f', assuming commit.
Could not find a tag or branch '56f048af9b6868613c14aeae760548834c495011', assuming commit.
Could not find a tag or branch 'a3c54afe30375f7a5755ba6f6412a91de23c3b86', assuming commit.
Could not find a tag or branch '7e308cf676b6f41493d9cf7864296bc1c089b36b', assuming commit.
Could not find a tag or branch '32d52edaa820dbdbf846d8a84f6bccbf0b9c8218', assuming commit.
Could not find a tag or branch '972d5e54a0422e9c6d822473c9bad14f16484d0f', assuming commit.
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
Could not find a tag or branch '96e1922348bfe6d99201b9512a9ed946c87b7e0b', assuming commit.
Could not find a tag or branch '36f64c0f1f458ce7b9ecb2347667b202d13a8317', assuming commit.
pip install -q --exists-action w -r requirements/edx/post.txt
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets
2014-10-24 11:48:50,983 ERROR 11444 [boto] utils.py:228 - Caught exception reading instance data
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/boto/utils.py", line 214, in retry_url
r = opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error timed out>
2014-10-24 11:48:50,989 ERROR 11444 [boto] utils.py:233 - Unable to read instance data, giving up
Traceback (most recent call last):
File "manage.py", line 91, in <module>
startup.run()
File "/edx/app/edxapp/edx-platform/lms/startup.py", line 30, in run
autostartup()
File "/edx/app/edxapp/edx-platform/common/lib/django_startup.py", line 15, in autostartup
mod = import_module(app + '.startup')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/edx/app/edxapp/edx-platform/common/djangoapps/static_replace/__init__.py", line 8, in <module>
from xmodule.modulestore.django import modulestore
File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/django.py", line 22, in <module>
import xblock.reference.plugins
File "/edx/app/edxapp/venvs/edxapp/src/xblock/xblock/reference/plugins.py", line 10, in <module>
from djpyfs import djpyfs
File "/edx/app/edxapp/venvs/edxapp/src/djpyfs/djpyfs/djpyfs.py", line 39, in <module>
s3conn = S3Connection(aws_access_key_id=key_id, aws_secret_access_key=key_secret)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/boto/s3/connection.py", line 190, in __init__
validate_certs=validate_certs, profile_name=profile_name)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/boto/connection.py", line 568, in __init__
host, config, self.provider, self._required_auth_capability())
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/boto/auth.py", line 939, in get_auth_handler
'Check your credentials' % (len(names), str(names)))
boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV1Handler'] Check your credentials
Captured Task Output:
---------------------
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_ruby_prereqs
---> pavelib.prereqs.install_node_prereqs
---> pavelib.prereqs.install_python_prereqs
pip install -q --exists-action w -r requirements/edx/pre.txt
pip install -q --exists-action w -r requirements/edx/github.txt
pip install -q --exists-action w -r requirements/edx/local.txt
pip install -q --exists-action w -r requirements/edx/base.txt
pip install -q --exists-action w -r requirements/edx/post.txt
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets
Build failed running pavelib.servers.devstack: Subprocess return code: 1
edxapp@precise64:~/edx-platform$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment