Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/singlestack [ bundle exec chef-client -z vagrant_linux.rb aio-nova.rb master * ] 2:32 PM
- [2014-09-29T14:32:49-04:00] INFO: Starting chef-zero on port 8889 with repository at repository at /Users/apenney/singlestack
- One version per cookbook
- [2014-09-29T14:32:49-04:00] INFO: Forking chef instance to converge...
- [2014-09-29T14:32:49-04:00] WARN:
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- SSL validation of HTTPS requests is disabled. HTTPS connections are still
- encrypted, but chef is not able to detect forged replies or man in the middle
- attacks.
- To fix this issue add an entry like this to your configuration file:
- ```
- # Verify all HTTPS connections (recommended)
- ssl_verify_mode :verify_peer
- # OR, Verify only connections to chef-server
- verify_api_cert true
- ```
- To check your SSL configuration, or troubleshoot errors, you can use the
- `knife ssl check` command like so:
- ```
- knife ssl check -c /Users/apenney/singlestack/.chef/knife.rb
- ```
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- Starting Chef Client, version 11.12.8
- [2014-09-29T14:32:49-04:00] INFO: *** Chef 11.12.8 ***
- [2014-09-29T14:32:49-04:00] INFO: Chef-client pid: 81324
- [2014-09-29T14:32:51-04:00] INFO: Run List is []
- [2014-09-29T14:32:51-04:00] INFO: Run List expands to []
- [2014-09-29T14:32:51-04:00] INFO: Starting Chef Run for nodienode
- [2014-09-29T14:32:51-04:00] INFO: Running start handlers
- [2014-09-29T14:32:51-04:00] INFO: Start handlers complete.
- [2014-09-29T14:32:51-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/nodienode/runs
- resolving cookbooks for run list: []
- [2014-09-29T14:32:51-04:00] INFO: Loading cookbooks []
- Synchronizing Cookbooks:
- Compiling Cookbooks...
- [2014-09-29T14:32:51-04:00] WARN: Node nodienode has an empty run list.
- Converging 4 resources
- Recipe: @recipe_files::/Users/apenney/singlestack/vagrant_linux.rb
- * vagrant_box[centos65] action create[2014-09-29T14:32:51-04:00] INFO: Processing vagrant_box[centos65] action create (@recipe_files::/Users/apenney/singlestack/vagrant_linux.rb line 4)
- (up to date)
- * vagrant_box[precise64] action create[2014-09-29T14:32:52-04:00] INFO: Processing vagrant_box[precise64] action create (@recipe_files::/Users/apenney/singlestack/vagrant_linux.rb line 8)
- (up to date)
- * vagrant_box[trusty64] action create[2014-09-29T14:32:53-04:00] INFO: Processing vagrant_box[trusty64] action create (@recipe_files::/Users/apenney/singlestack/vagrant_linux.rb line 12)
- (up to date)
- Recipe: @recipe_files::/Users/apenney/singlestack/aio-nova.rb
- * machine[mario] action converge[2014-09-29T14:32:54-04:00] INFO: Processing machine[mario] action converge (@recipe_files::/Users/apenney/singlestack/aio-nova.rb line 20)
- [2014-09-29T14:32:54-04:00] INFO: Processing vagrant_cluster[/Users/apenney/.chef/vms] action create (basic_chef_client::block line 210)
- [2014-09-29T14:32:54-04:00] INFO: Processing directory[/Users/apenney/.chef/vms] action create (basic_chef_client::block line 15)
- [2014-09-29T14:32:54-04:00] INFO: Processing file[/Users/apenney/.chef/vms/Vagrantfile] action create (basic_chef_client::block line 16)
- [2014-09-29T14:32:54-04:00] INFO: Processing file[/Users/apenney/.chef/vms/mario.vm] action create (basic_chef_client::block line 230)
- [2014-09-29T14:32:54-04:00] INFO: Processing chef_node[mario] action create (basic_chef_client::block line 64)
- ================================================================================
- Error executing action `converge` on resource 'machine[mario]'
- ================================================================================
- RuntimeError
- ------------
- vagrant up mario failed!
- STDOUT:
- STDERR:A Vagrant environment or target machine is required to run this
- command. Run `vagrant init` to create a new Vagrant environment. Or,
- get an ID of a target machine from `vagrant global-status` to run
- this command on. A final option is to change to a directory with a
- Vagrantfile and to try again.
- Resource Declaration:
- ---------------------
- # In /Users/apenney/singlestack/aio-nova.rb
- 20: machine 'mario' do
- 21: machine_options :vagrant_config => mario_config
- 22: role 'allinone-compute'
- 23: role 'os-image-upload'
- 24: chef_environment 'vagrant-aio-nova'
- 25: file '/etc/chef/openstack_data_bag_secret','~/singlestack/.chef/encrypted_data_bag_secret'
- 26: converge true
- 27: end
- Compiled Resource:
- ------------------
- # Declared in /Users/apenney/singlestack/aio-nova.rb:20:in `from_file'
- machine("mario") do
- action :converge
- retries 0
- retry_delay 2
- guard_interpreter :default
- chef_environment "vagrant-aio-nova"
- chef_server {:chef_server_url=>"http://127.0.0.1:8889", :options=>{:client_name=>"nodienode", :signing_key_filename=>"/Users/apenney/singlestack/.chef/nodienode.pem"}}
- driver "vagrant"
- machine_options {:vagrant_config=>" config.vm.box = \"centos65\"\n config.vm.network \"forwarded_port\", guest: 443, host: 9443\n config.vm.network \"forwarded_port\", guest: 4002, host: 4002\n config.vm.network \"forwarded_port\", guest: 5000, host: 5000\n config.vm.network \"forwarded_port\", guest: 8773, host: 8773\n config.vm.network \"forwarded_port\", guest: 8774, host: 8774\n config.vm.network \"forwarded_port\", guest: 35357, host: 35357\n config.vm.provider \"virtualbox\" do |v|\n v.memory = 4096\n v.cpus = 2\n v.customize [\"modifyvm\", :id, \"--nicpromisc2\", \"allow-all\"]\n v.customize [\"modifyvm\", :id, \"--natdnshostresolver1\", \"on\"]\n end\n config.vm.network \"private_network\", ip: \"192.168.200.60\"\n"}
- cookbook_name "@recipe_files"
- recipe_name "/Users/apenney/singlestack/aio-nova.rb"
- run_list_modifiers [#<Chef::RunList::RunListItem:0x007fed23584248 @version=nil, @type=:role, @name="allinone-compute">, #<Chef::RunList::RunListItem:0x007fed23584068 @version=nil, @type=:role, @name="os-image-upload">]
- files {"/etc/chef/openstack_data_bag_secret"=>"~/singlestack/.chef/encrypted_data_bag_secret"}
- converge true
- end
- [2014-09-29T14:32:55-04:00] INFO: Running queued delayed notifications before re-raising exception
- Running handlers:
- [2014-09-29T14:32:55-04:00] ERROR: Running exception handlers
- Running handlers complete
- [2014-09-29T14:32:55-04:00] ERROR: Exception handlers complete
- [2014-09-29T14:32:55-04:00] FATAL: Stacktrace dumped to /Users/apenney/.chef/local-mode-cache/cache/chef-stacktrace.out
- Chef Client failed. 0 resources updated in 6.121714 seconds
- [2014-09-29T14:32:55-04:00] ERROR: machine[mario] (@recipe_files::/Users/apenney/singlestack/aio-nova.rb line 20) had an error: RuntimeError: vagrant up mario failed!
- STDOUT:
- STDERR:A Vagrant environment or target machine is required to run this
- command. Run `vagrant init` to create a new Vagrant environment. Or,
- get an ID of a target machine from `vagrant global-status` to run
- this command on. A final option is to change to a directory with a
- Vagrantfile and to try again.
- [2014-09-29T14:32:55-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
- ~/singlestack [
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement