Skip to content

Instantly share code, notes, and snippets.

@zackmdavis
Created December 27, 2013 19:35
Show Gist options
  • Save zackmdavis/8151551 to your computer and use it in GitHub Desktop.
Save zackmdavis/8151551 to your computer and use it in GitHub Desktop.
failed swiftstack.com dev environment boot
(ssdc)Jons-MacBook-Pro:swiftstackdotcom zmd$ vagrant up
Bringing machine 'dev' up with 'virtualbox' provider...
[dev] Setting the name of the VM...
[dev] Clearing any previously set forwarded ports...
[dev] Creating shared folders metadata...
[dev] Clearing any previously set network interfaces...
[dev] Preparing network interfaces based on configuration...
[dev] Forwarding ports...
[dev] -- 22 => 2222 (adapter 1)
[dev] -- 8000 => 8888 (adapter 1)
[dev] Booting VM...
[dev] Waiting for VM to boot. This can take a few minutes.
[dev] VM booted and ready for use!
[dev] Configuring and enabling network interfaces...
[dev] Mounting shared folders...
[dev] -- /vagrant
[dev] Running provisioner: ansible...
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [192.168.33.100]
TASK: [copy over user aliases] ************************************************
changed: [192.168.33.100]
TASK: [upgrade all packages] **************************************************
changed: [192.168.33.100]
TASK: [ensure the latest version of postgresql is installed] ******************
changed: [192.168.33.100]
TASK: [ensure the latest version of postgres contribs is installed] ***********
changed: [192.168.33.100]
TASK: [ensure the latest versino of postgres libs are installed] **************
changed: [192.168.33.100]
TASK: [install git] ***********************************************************
changed: [192.168.33.100]
TASK: [install mercurial] *****************************************************
changed: [192.168.33.100]
TASK: [install python development libraries] **********************************
changed: [192.168.33.100]
TASK: [install pip] ***********************************************************
changed: [192.168.33.100]
TASK: [install python dependencies] *******************************************
failed: [192.168.33.100] => {"cmd": "/usr/bin/pip install -r /vagrant/requirements.pip", "failed": true}
msg: stdout: Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 200, in run
for req in parse_requirements(filename, finder=finder, options=options):
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1257, in parse_requirements
req = InstallRequirement.from_line(line, comes_from)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 98, in from_line
return cls(req, comes_from, url=url)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 38, in __init__
req = pkg_resources.Requirement.parse(req)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2582, in parse
reqs = list(parse_requirements(s))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2507, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2475, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'arrow=0.4.2', 'at', '=0.4.2')
Storing complete log in /root/.pip/pip.log
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/zmd/dev.yaml.retry
192.168.33.100 : ok=10 changed=9 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
(ssdc)Jons-MacBook-Pro:swiftstackdotcom zmd$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment