Skip to content

Instantly share code, notes, and snippets.

@AlasdairSwan
Created October 16, 2014 14:51
Show Gist options
  • Save AlasdairSwan/8e2ad295a2241c30b9c2 to your computer and use it in GitHub Desktop.
Save AlasdairSwan/8e2ad295a2241c30b9c2 to your computer and use it in GitHub Desktop.
Alasdairs-MacBook-Pro:devstack alasdairswan$ vagrant reload --provision
==> default: Attempting graceful shutdown of VM...
==> default: Clearing any previously set forwarded ports...
==> 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: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
Password:
==> default: Mounting NFS shared folders...
==> 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: 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: PLAY RECAP ********************************************************************
==> default: localhost : ok=6 changed=0 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/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | download nltk data] *********************************************
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: ok: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [nltk | unarchive nltk data] ********************************************
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_pos_tagger.zip', 'path': 'taggers/maxent_treebank_pos_tagger'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/stopwords.zip', 'path': 'corpora/stopwords'})
==> default: skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/corpora/wordnet.zip', 'path': 'corpora/wordnet'})
==> default:
==> default: TASK: [edxapp | setup the edxapp env] *****************************************
==> default: ok: [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: failed: [localhost] => {"failed": true, "item": ""}
==> default: msg: Failed to download remote objects and refs
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default: to retry, use: --limit @/root/vagrant-devstack.retry
==> default:
==> default: localhost : ok=12 changed=1 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] ***
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 (anything not caps)] ***
skipping: [localhost]
PLAY RECAP ********************************************************************
localhost : ok=6 changed=0 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 (anything 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', 'path': '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', 'path': 'corpora/wordnet'})
TASK: [nltk | unarchive nltk data] ********************************************
skipping: [localhost] => (item={'url': 'http://nltk.github.com/nltk_data/packages/taggers/maxent_treebank_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.zip', 'path': 'corpora/wordnet'})
TASK: [edxapp | setup the edxapp env] *****************************************
ok: [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}}] **********
failed: [localhost] => {"failed": true, "item": ""}
msg: Failed to download remote objects and refs
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/vagrant-devstack.retry
localhost : ok=12 changed=1 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment