Advertisement
Guest User

Untitled

a guest
Sep 29th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. - +end[2014-09-29T14:15:54-04:00] INFO: Processing chef_node[mario] action create (basic_chef_client::block line 64)
  2. [2014-09-29T14:15:54-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/mario
  3.  
  4. - create node mario at http://localhost:8889
  5. - update chef_environment from "_default" to "vagrant-aio-nova"
  6. - add normal.tags = nil
  7. - add normal.metal = {"location"=>{"driver_url"=>"vagrant:/Users/apenney/.chef/vms", "driver_version"=>"0.6", "vm_name"=>"mario", "vm_file_path"=>"/Users/apenney/.chef/vms/mario.vm", "allocated_at"=>"2014-09-29 18:15:54 UTC", "host_node"=>"http://localhost:8889/nodes/", "needs_reload"=>true}}
  8. - update run_list from [] to ["role[allinone-compute]", "role[os-image-upload]"]
  9. ================================================================================
  10. Error executing action `converge` on resource 'machine[mario]'
  11. ================================================================================
  12.  
  13. RuntimeError
  14. ------------
  15. vagrant up mario failed!
  16. STDOUT:
  17. STDERR:A Vagrant environment or target machine is required to run this
  18. command. Run `vagrant init` to create a new Vagrant environment. Or,
  19. get an ID of a target machine from `vagrant global-status` to run
  20. this command on. A final option is to change to a directory with a
  21. Vagrantfile and to try again.
  22.  
  23. Resource Declaration:
  24. ---------------------
  25. # In /Users/apenney/cookbooks/singlestack/aio-nova.rb
  26.  
  27. 20: machine 'mario' do
  28. 21: machine_options :vagrant_config => mario_config
  29. 22: role 'allinone-compute'
  30. 23: role 'os-image-upload'
  31. 24: chef_environment 'vagrant-aio-nova'
  32. 25: file '/etc/chef/openstack_data_bag_secret','~/cookbooks/singlestack/.chef/encrypted_data_bag_secret'
  33. 26: converge true
  34. 27: end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement