Closed shar101 closed 10 years ago
Just wanted to additionally provide the version numbers# virtualBox - 4.3.6 OS: Ubuntu 64Bit Vagrant - 1.4.3
Is Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3))
the last line of your console output or did GitHub truncate it? If possible, can you provide the full console output to a pastebin and provide a link so that I can review it in its entirety?
By downloading to the latest version of Vagrant (1.5.2) I seem to have resolved the issue. Multiple attempts were used to execute vagrant provision to get the ipython notebook to source on localhost:8888. Thank you for your response Matthew Hope the findings here help others. Please use the most recent version of vagrant to deploy the VM
Thanks. I was just writing you back and commenting on how baffled I was that a CRC error was the root cause of the failure. To be honest, I'm really not quite sure how Vagrant could have been culpable, but I'm relieved to hear that updating to the latest version of Vagrant indeed fixed the problem.
Thanks for your patience with this. Despite trying to make it totally turn-key with a VM, these sorts of things inevitably still come up here and there.
Let me know how things work out as you get into the code a bit?
Hi Matthew,
Finally when I was unable to provision the VM, I had to raise this to you for help. I am using precise64 and have been following the instructions. The VM does come up but the Chef recipes is where the issue is. After repeated attempts of destroying the VM and reinstalling using vagrant up, I am unable to pursue further. The last two occasions seem to stop at "Maxlib::ShellOut. Part of the logs are attached for your reference. I did investigate the issue and it seems the issue is somewhere with pip install
I will continue to check for any resolution in the closed issues that deal with this issue, however if you can help me provide any direction, I would appreciate it highly
Thanks -Akash
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in
step' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in
execute_each_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in
converge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:indo_run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in
run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in
loop' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in
run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 /opt/vagrant_ruby/bin/chef-solo:19:in `load' /opt/vagrant_ruby/bin/chef-solo:19 [2014-04-07T01:07:51+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[install_requirements](mtsw2e::default line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' ---- Begin output of pip install -r /vagrant/mtsw2e-requirements.txt --allow-unverified matplotlib --allow-all-external ---- STDOUT: Downloading/unpacking BeautifulSoup==3.2.1 (from -r /vagrant/mtsw2e-requirements.txt (line 1)) Downloading BeautifulSoup-3.2.1.tar.gz Running setup.py (path:/tmp/pip_build_root/BeautifulSoup/setup.py) egg_info for package BeautifulSoupDownloading/unpacking Flask==0.9 (from -r /vagrant/mtsw2e-requirements.txt (line 2)) Running setup.py (path:/tmp/pip_build_root/Flask/setup.py) egg_info for package Flask
Downloading/unpacking Jinja2==2.6 (from -r /vagrant/mtsw2e-requirements.txt (line 3))