Advertisement
zamotivator

Untitled

Jun 5th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. oleg@t510 0 ~/dev/eventer/cookbooks % cd ..
  2. oleg@t510 0 ~/dev/eventer % vagrant up
  3. Bringing machine 'default' up with 'virtualbox' provider...
  4. [default] Importing base box 'lucid32'...
  5. [default] Matching MAC address for NAT networking...
  6. [default] Setting the name of the VM...
  7. [default] Clearing any previously set forwarded ports...
  8. [default] Creating shared folders metadata...
  9. [default] Clearing any previously set network interfaces...
  10. [default] Preparing network interfaces based on configuration...
  11. [default] Forwarding ports...
  12. [default] -- 22 => 2222 (adapter 1)
  13. [default] Booting VM...
  14. [default] Waiting for VM to boot. This can take a few minutes.
  15. [default] VM booted and ready for use!
  16. [default] Configuring and enabling network interfaces...
  17. [default] Mounting shared folders...
  18. [default] -- /vagrant
  19. [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
  20. [default] Running provisioner: chef_solo...
  21. Generating chef JSON and uploading...
  22. Running chef-solo...
  23. stdin: is not a tty
  24. [2013-06-05T17:45:15+02:00] INFO: *** Chef 10.14.2 ***
  25. [2013-06-05T17:45:15+02:00] INFO: Setting the run_list to ["recipe[vagrant_main]"] from JSON
  26. [2013-06-05T17:45:15+02:00] INFO: Run List is [recipe[vagrant_main]]
  27. [2013-06-05T17:45:15+02:00] INFO: Run List expands to [vagrant_main]
  28. [2013-06-05T17:45:15+02:00] INFO: Starting Chef Run for lucid32.hsd1.ca.comcast.net.
  29. [2013-06-05T17:45:15+02:00] INFO: Running start handlers
  30. [2013-06-05T17:45:15+02:00] INFO: Start handlers complete.
  31. [2013-06-05T17:45:15+02:00] WARN: Missing gem 'right_aws'
  32. [2013-06-05T17:45:15+02:00] INFO: Missing gem 'mysql'
  33. [2013-06-05T17:45:15+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
  34. [2013-06-05T17:45:15+02:00] WARN: require_recipe is deprecated and will be removed in a future release, please use include_recipe
  35. [2013-06-05T17:45:15+02:00] INFO: Could not find previously defined grants.sql resource
  36. [2013-06-05T17:45:15+02:00] INFO: Processing package[python] action install (python::package line 32)
  37. [2013-06-05T17:45:15+02:00] INFO: Processing package[python-dev] action install (python::package line 32)
  38. [2013-06-05T17:45:30+02:00] INFO: Processing remote_file[/tmp/vagrant-chef-1/distribute_setup.py] action create (python::pip line 25)
  39. [2013-06-05T17:45:31+02:00] INFO: remote_file[/tmp/vagrant-chef-1/distribute_setup.py] updated
  40. [2013-06-05T17:45:31+02:00] INFO: remote_file[/tmp/vagrant-chef-1/distribute_setup.py] mode changed to 644
  41. [2013-06-05T17:45:31+02:00] INFO: Processing bash[install-pip] action run (python::pip line 31)
  42. [2013-06-05T17:45:38+02:00] INFO: bash[install-pip] ran successfully
  43. [2013-06-05T17:45:38+02:00] INFO: Processing python_pip[virtualenv] action install (python::virtualenv line 23)
  44.  
  45. ================================================================================
  46.  
  47. Error executing action `install` on resource 'python_pip[virtualenv]'
  48.  
  49. ================================================================================
  50.  
  51.  
  52. Mixlib::ShellOut::ShellCommandFailed
  53.  
  54. ------------------------------------
  55. Expected process to exit with [0], but received '1'
  56. ---- Begin output of pip freeze | grep -i virtualenv== ----
  57. STDOUT:
  58. STDERR:
  59. ---- End output of pip freeze | grep -i virtualenv== ----
  60. Ran pip freeze | grep -i virtualenv== returned 1
  61.  
  62. Cookbook Trace:
  63. ---------------
  64. /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/pip.rb:109:in `current_installed_version'
  65. /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/pip.rb:92:in `load_current_resource'
  66.  
  67. Resource Declaration:
  68. ---------------------
  69. # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/recipes/virtualenv.rb
  70.  
  71. 22:
  72. 23: python_pip "virtualenv" do
  73. 24: action :install
  74. 25: end
  75.  
  76. Compiled Resource:
  77. ------------------
  78. # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/recipes/virtualenv.rb:23:in `from_file'
  79.  
  80. python_pip("virtualenv") do
  81. retry_delay 2
  82. cookbook_name :python
  83. package_name "virtualenv"
  84. retries 0
  85. action [:install]
  86. recipe_name "virtualenv"
  87. end
  88.  
  89. [2013-06-05T17:45:39+02:00] ERROR: Running exception handlers
  90. [2013-06-05T17:45:39+02:00] ERROR: Exception handlers complete
  91. [2013-06-05T17:45:39+02:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
  92. [2013-06-05T17:45:39+02:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: python_pip[virtualenv] (python::virtualenv line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  93. ---- Begin output of pip freeze | grep -i virtualenv== ----
  94. STDOUT:
  95. STDERR:
  96. ---- End output of pip freeze | grep -i virtualenv== ----
  97. Ran pip freeze | grep -i virtualenv== returned 1
  98. Chef never successfully completed! Any errors should be visible in the
  99. output above. Please fix your recipes so that they properly complete.
  100. oleg@t510 0 ~/dev/eventer %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement