Skip to content

Instantly share code, notes, and snippets.

@damonregan
Created July 1, 2014 16:28
Show Gist options
  • Save damonregan/4a563873ba04bce4d6a3 to your computer and use it in GitHub Desktop.
Save damonregan/4a563873ba04bce4d6a3 to your computer and use it in GitHub Desktop.
vagrant up using johnnycake-devstack on Windows 7 Ultimate
C:\Development\devstack>ls -la
total 7
drwxr-xr-x 1 me Administ 4096 Jul 1 11:59 .
drwxr-xr-x 16 me Administ 4096 Jun 30 17:33 ..
-rw-r--r-- 1 me Administ 4345 Jul 1 08:43 Vagrantfile
C:\Development\devstack>set VAGRANT_USE_VBOXFS = true
C:\Development\devstack>echo %VAGRANT_USE_VBOXFS%
true
C:\Development\devstack>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'johnnycake-devstack'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: devstack_default_1404230811140_29340
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 8000 => 8000 (adapter 1)
default: 8001 => 8001 (adapter 1)
default: 18080 => 18080 (adapter 1)
default: 8765 => 8765 (adapter 1)
default: 9200 => 9200 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
GuestAdditions 4.3.12 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /edx/app/ora/ora => C:/Development/devstack/ora
default: /edx/app/edxapp/themes => C:/Development/devstack/themes
default: /edx/app/edxapp/edx-platform => C:/Development/devstack/edx-platform
default: /edx/app/forum/cs_comments_service => C:/Development/devstack/cs_comments_service
==> default: Running provisioner: shell...
default: Running: inline script
==> default: stdin: is not a tty
==> default:
==> default: PLAY [Deploy the edx_ansible role] ********************************************
==> default:
==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
==> default: changed: [localhost]
==> default:
==> default: TASK: [edx_ansible | install edx_ansible venv requirements] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create update script] ************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for update.sh] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | dump all vars to yaml] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edx_ansible | create symlink for config file] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible
vars (anything not caps)] ***
==> default: skipping: [localhost]
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: localhost : ok=6 changed=1 unreachable=0 failed=0
==> default: [WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop
==> default: expressions bare.
==> default:
==> default: PLAY [Configure instance(s)] **************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | install edx_ansible venv requirements] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create update script] ************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for update.sh] **************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edx_ansible | dump all vars to yaml] ***********************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edx_ansible | create symlink for config file] **************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible
vars (anything not caps)] ***
==> default: skipping: [localhost]
==> default:
==> default: TASK: [nltk | create the nltk data directory and subdirectories] **************
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/max
ent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/sto
pwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wor
dnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | download nltk data] *********************************************
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/max
ent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/sto
pwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wor
dnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | unarchive nltk data] ********************************************
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/tagge
rs/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpo
ra/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpo
ra/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [edxapp | setup the edxapp env] *****************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | create ssh script for git (not authenticated)] ****************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | create ssh script for git (authenticated)] ********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | install read-only ssh key] ************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | checkout edx-platform repo into {{edxapp_code_dir}}] **********
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | git clean after checking out edx-platform] ********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | checkout theme] ***********************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | create checksum for requirements, package.json and Gemfile] ***
==> default: failed: [localhost] => {"changed": true, "cmd": "/usr/bin/md5sum /edx/app/edxapp/edx-pl
atform/requirements/edx/pre.txt /edx/app/edxapp/edx-platform/requirements/edx/post.txt /edx/app/edxa
pp/edx-platform/requirements/edx/base.txt /edx/app/edxapp/edx-platform/requirements/edx/custom.txt /
edx/app/edxapp/edx-platform/requirements/edx/paver.txt /edx/app/edxapp/edx-platform/requirements/edx
-sandbox/post.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt 2>/dev/null > /var/
tmp/edxapp.req.new ", "delta": "0:00:00.024247", "end": "2014-07-01 16:22:21.131649", "item": "", "r
c": 1, "start": "2014-07-01 16:22:21.107402"}
==> default:
==> default: ...ignoring
==> default:
==> default: TASK: [edxapp | stat path=/var/tmp/edxapp.req.new] ****************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | stat path=/var/tmp/edxapp.req.installed] **********************
==> default: ok: [localhost]
==> default:
==> default: TASK: [edxapp | Updating requirement files for git mirror] ********************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | gem install bundler] ******************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | bundle install] ***********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [edxapp | Set the npm registry] *****************************************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [edxapp | Install edx-platform npm dependencies] ************************
==> default: failed: [localhost] => {"changed": true, "cmd": "npm install ", "delta": "0:00:02.32676
9", "end": "2014-07-01 16:22:28.463470", "item": "", "rc": 1, "start": "2014-07-01 16:22:26.136701"}
==> default: stderr: npm http GET http://registry.npmjs.org/coffee-script
==> default: npm http 304 http://registry.npmjs.org/coffee-script
==> default: npm ERR! error installing coffee-script@1.6.1
==> default:
==> default: npm ERR! Error: UNKNOWN, unknown error '../coffee-script/bin/coffee'
==> default: npm ERR! You may report this log at:
==> default: npm ERR! <http://bugs.debian.org/npm>
==> default: npm ERR! or use
==> default: npm ERR! reportbug --attach /edx/app/edxapp/edx-platform/npm-debug.log npm
==> default: npm ERR!
==> default: npm ERR! System Linux 3.2.0-23-generic
==> default: npm ERR! command "node" "/usr/bin/npm" "install"
==> default: npm ERR! cwd /edx/app/edxapp/edx-platform
==> default: npm ERR! node -v v0.6.12
==> default: npm ERR! npm -v 1.1.4
==> default: npm ERR! path ../coffee-script/bin/coffee
==> default: npm ERR! code UNKNOWN
==> default: npm ERR! message UNKNOWN, unknown error '../coffee-script/bin/coffee'
==> default: npm ERR! errno {}
==> default: npm ERR!
==> default: npm ERR! Additional logging details can be found in:
==> default: npm ERR! /edx/app/edxapp/edx-platform/npm-debug.log
==> default: npm not ok
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: to retry, use: --limit @/root/vagrant-devstack.retry
==> default: localhost : ok=20 changed=8 unreachable=0 failed=1
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell
Stdout from the command:
PLAY [Deploy the edx_ansible role] ********************************************
TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
changed: [localhost]
TASK: [edx_ansible | install edx_ansible venv requirements] *******************
ok: [localhost]
TASK: [edx_ansible | create update script] ************************************
ok: [localhost]
TASK: [edx_ansible | create a symlink for update.sh] **************************
ok: [localhost]
TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
ok: [localhost]
TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
ok: [localhost]
TASK: [edx_ansible | dump all vars to yaml] ***********************************
skipping: [localhost]
TASK: [edx_ansible | create symlink for config file] **************************
skipping: [localhost]
TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible vars (anythin
g not caps)] ***
skipping: [localhost]
PLAY RECAP ********************************************************************
localhost : ok=6 changed=1 unreachable=0 failed=0
PLAY [Configure instance(s)] **************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [edx_ansible | git checkout edx_ansible repo into edx_ansible_code_dir] ***
ok: [localhost]
TASK: [edx_ansible | install edx_ansible venv requirements] *******************
ok: [localhost]
TASK: [edx_ansible | create update script] ************************************
ok: [localhost]
TASK: [edx_ansible | create a symlink for update.sh] **************************
ok: [localhost]
TASK: [edx_ansible | create a symlink for ansible-playbook] *******************
ok: [localhost]
TASK: [edx_ansible | create a symlink for the playbooks dir] ******************
ok: [localhost]
TASK: [edx_ansible | dump all vars to yaml] ***********************************
skipping: [localhost]
TASK: [edx_ansible | create symlink for config file] **************************
skipping: [localhost]
TASK: [edx_ansible | clean up var file, removing all version vars and internal ansible vars (anythin
g not caps)] ***
skipping: [localhost]
TASK: [nltk | create the nltk data directory and subdirectories] **************
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_
pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip',
'path': 'corpora/stopwords'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'p
ath': 'corpora/wordnet'})
TASK: [nltk | download nltk data] *********************************************
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_
pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip',
'path': 'corpora/stopwords'})
ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'p
ath': 'corpora/wordnet'})
TASK: [nltk | unarchive nltk data] ********************************************
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_tre
ebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.
zip', 'path': 'corpora/stopwords'})
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zi
p', 'path': 'corpora/wordnet'})
TASK: [edxapp | setup the edxapp env] *****************************************
changed: [localhost]
TASK: [edxapp | create ssh script for git (not authenticated)] ****************
changed: [localhost]
TASK: [edxapp | create ssh script for git (authenticated)] ********************
skipping: [localhost]
TASK: [edxapp | install read-only ssh key] ************************************
skipping: [localhost]
TASK: [edxapp | checkout edx-platform repo into {{edxapp_code_dir}}] **********
changed: [localhost]
TASK: [edxapp | git clean after checking out edx-platform] ********************
changed: [localhost]
TASK: [edxapp | checkout theme] ***********************************************
skipping: [localhost]
TASK: [edxapp | create checksum for requirements, package.json and Gemfile] ***
failed: [localhost] => {"changed": true, "cmd": "/usr/bin/md5sum /edx/app/edxapp/edx-platform/requir
ements/edx/pre.txt /edx/app/edxapp/edx-platform/requirements/edx/post.txt /edx/app/edxapp/edx-platfo
rm/requirements/edx/base.txt /edx/app/edxapp/edx-platform/requirements/edx/custom.txt /edx/app/edxap
p/edx-platform/requirements/edx/paver.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/post
.txt /edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt 2>/dev/null > /var/tmp/edxapp.re
q.new ", "delta": "0:00:00.024247", "end": "2014-07-01 16:22:21.131649", "item": "", "rc": 1, "start
": "2014-07-01 16:22:21.107402"}
...ignoring
TASK: [edxapp | stat path=/var/tmp/edxapp.req.new] ****************************
ok: [localhost]
TASK: [edxapp | stat path=/var/tmp/edxapp.req.installed] **********************
ok: [localhost]
TASK: [edxapp | Updating requirement files for git mirror] ********************
changed: [localhost]
TASK: [edxapp | gem install bundler] ******************************************
changed: [localhost]
TASK: [edxapp | bundle install] ***********************************************
changed: [localhost]
TASK: [edxapp | Set the npm registry] *****************************************
skipping: [localhost]
TASK: [edxapp | Install edx-platform npm dependencies] ************************
failed: [localhost] => {"changed": true, "cmd": "npm install ", "delta": "0:00:02.326769", "end": "2
014-07-01 16:22:28.463470", "item": "", "rc": 1, "start": "2014-07-01 16:22:26.136701"}
stderr: npm http GET http://registry.npmjs.org/coffee-script
npm http 304 http://registry.npmjs.org/coffee-script
npm ERR! error installing coffee-script@1.6.1
npm ERR! Error: UNKNOWN, unknown error '../coffee-script/bin/coffee'
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /edx/app/edxapp/edx-platform/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /edx/app/edxapp/edx-platform
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! path ../coffee-script/bin/coffee
npm ERR! code UNKNOWN
npm ERR! message UNKNOWN, unknown error '../coffee-script/bin/coffee'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /edx/app/edxapp/edx-platform/npm-debug.log
npm not ok
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/vagrant-devstack.retry
localhost : ok=20 changed=8 unreachable=0 failed=1
Stderr from the command:
stdin: is not a tty
[WARNING]: It is unneccessary to use '{{' in loops, leave variables in loop
expressions bare.
C:\Development\devstack>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment