-
Notifications
You must be signed in to change notification settings - Fork 23
Chef Provisioning- Vagrant (Port issues) #23
Comments
For the error about Also, try upgrading to Chef 12.4.0 actual release. You're using RC, which could potentially have bugs that have been fixed. |
Is it possible that TCP forwarding is disabled on your SLES VM? |
I'd also suggest downgrading to chef 12.3, as there are some known compatibility problems between chef provisioning and chef 12.4.0 which you might otherwise encounter (chef-boneyard/chef-provisioning#377) |
Hey Christine, I will try your comments and get back to you. |
Chef 12.4.1 has been released - can you try that version? It has a slew of fixes in it. |
sure.. will update in the late evening.. |
[2015-07-02T12:20:57-07:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/dtumkursreeni/chef
One version per cookbook
[2015-07-02T12:20:57-07:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.4.0.rc.0
[2015-07-02T12:20:57-07:00] INFO: *** Chef 12.4.0.rc.0 ***
[2015-07-02T12:20:57-07:00] INFO: Chef-client pid: 34428
[2015-07-02T12:20:58-07:00] INFO: Run List is []
[2015-07-02T12:20:58-07:00] INFO: Run List expands to []
[2015-07-02T12:20:58-07:00] INFO: Starting Chef Run for dtumkursreeni
[2015-07-02T12:20:58-07:00] INFO: Running start handlers
[2015-07-02T12:20:58-07:00] INFO: Start handlers complete.
[2015-07-02T12:20:58-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2015-07-02T12:20:58-07:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Compiling Cookbooks...
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Resource::VagrantBox does not declare 'provides :vagrant_box'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:20:58-07:00] WARN: Chef::Resource::VagrantBox is marked as providing DSL vagrant_box, but provides :vagrant_box was never called!
[2015-07-02T12:20:58-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Resource::VagrantBox does not declare 'provides :vagrant_box'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:20:58-07:00] WARN: Chef::Resource::Machine is marked as providing DSL machine, but provides :machine was never called!
[2015-07-02T12:20:58-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:20:58-07:00] WARN: Node dtumkursreeni has an empty run list.
Converging 3 resources
Recipe: @recipe_files::/Users/dtumkursreeni/Tryitspossible/chef-provisioning/docs/examples/vagrant_linux.rb
[2015-07-02T12:20:58-07:00] WARN: Class Chef::Provider::VagrantBox does not declare 'provides :vagrant_box'.
[2015-07-02T12:20:58-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
(up to date)
Recipe: @recipe_files::/Users/dtumkursreeni/Tryitspossible/chef-provisioning/docs/examples/simple.rb
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Provider::Machine does not declare 'provides :machine'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/Mario
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Resource::VagrantCluster does not declare 'provides :vagrant_cluster'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] WARN: Chef::Resource::VagrantCluster is marked as providing DSL vagrant_cluster, but provides :vagrant_cluster was never called!
[2015-07-02T12:21:00-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Resource::VagrantCluster does not declare 'provides :vagrant_cluster'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] INFO: Processing vagrant_cluster[/Users/dtumkursreeni/.chef/vms] action create (basic_chef_client::block line 77)
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Provider::VagrantCluster does not declare 'provides :vagrant_cluster'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] INFO: Processing directory[/Users/dtumkursreeni/.chef/vms] action create (basic_chef_client::block line 15)
[2015-07-02T12:21:00-07:00] INFO: Processing file[/Users/dtumkursreeni/.chef/vms/Vagrantfile] action create (basic_chef_client::block line 16)
[2015-07-02T12:21:00-07:00] INFO: Processing file[/Users/dtumkursreeni/.chef/vms/Mario.vm] action create (basic_chef_client::block line 232)
[2015-07-02T12:21:00-07:00] INFO: file[/Users/dtumkursreeni/.chef/vms/Mario.vm] created file /Users/dtumkursreeni/.chef/vms/Mario.vm
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] WARN: Chef::Resource::ChefNode is marked as providing DSL chef_node, but provides :chef_node was never called!
[2015-07-02T12:21:00-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] INFO: Processing chef_node[Mario] action create (basic_chef_client::block line 77)
[2015-07-02T12:21:00-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-02T12:21:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:21:00-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/nodes/Mario
[2015-07-02T12:22:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:00-07:00] INFO: Processing chef_node[Mario] action create (basic_chef_client::block line 57)
[2015-07-02T12:22:00-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-02T12:22:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:00-07:00] INFO: Completed cp /etc/chef/client.pem /tmp/client.pem.1767459981 on [email protected]: exit status 1
[2015-07-02T12:22:00-07:00] ERROR: Unable to download /etc/chef/client.pem to /tmp/client.pem.1767459981 on [email protected] -- Error: command 'cp /etc/chef/client.pem /tmp/client.pem.1767459981' exited with code 1.
[2015-07-02T12:22:00-07:00] INFO: Executing sudo rm /tmp/client.pem.1767459981 on [email protected]
[2015-07-02T12:22:00-07:00] INFO: Completed rm /tmp/client.pem.1767459981 on [email protected]: exit status 1
[2015-07-02T12:22:00-07:00] WARN: Unable to clean up /tmp/client.pem.1767459981 on [email protected] -- Error: command 'rm /tmp/client.pem.1767459981' exited with code 1.
[2015-07-02T12:22:00-07:00] WARN: Class Chef::Resource::PrivateKey does not declare 'provides :private_key'.
[2015-07-02T12:22:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:00-07:00] WARN: Chef::Resource::PrivateKey is marked as providing DSL private_key, but provides :private_key was never called!
[2015-07-02T12:22:00-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:22:00-07:00] WARN: Class Chef::Resource::PrivateKey does not declare 'provides :private_key'.
[2015-07-02T12:22:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:00-07:00] INFO: Processing private_key[in_memory] action create (basic_chef_client::block line 77)
[2015-07-02T12:22:00-07:00] WARN: Class Chef::Provider::PrivateKey does not declare 'provides :private_key'.
[2015-07-02T12:22:00-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] INFO: Completed ls -d /etc/chef/client.pem on [email protected]: exit status 2
[2015-07-02T12:22:01-07:00] INFO: Executing sudo ls -d /etc/chef on [email protected]
[2015-07-02T12:22:01-07:00] INFO: Completed ls -d /etc/chef on [email protected]: exit status 2
[2015-07-02T12:22:01-07:00] INFO: Executing sudo mkdir -p /etc/chef on [email protected]
[2015-07-02T12:22:01-07:00] INFO: Completed mkdir -p /etc/chef on [email protected]: exit status 0
[2015-07-02T12:22:01-07:00] INFO: Completed mkdir -p /etc/chef on [email protected]: exit status 0
[2015-07-02T12:22:01-07:00] INFO: Executing sudo mv /tmp/client.pem.807567514 /etc/chef/client.pem on [email protected]
[2015-07-02T12:22:01-07:00] INFO: Completed mv /tmp/client.pem.807567514 /etc/chef/client.pem on [email protected]: exit status 0
[2015-07-02T12:22:01-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] WARN: Chef::Resource::ChefClient is marked as providing DSL chef_client, but provides :chef_client was never called!
[2015-07-02T12:22:01-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-02T12:22:01-07:00] WARN: Class Chef::Resource::ChefClient does not declare 'provides :chef_client'.
[2015-07-02T12:22:01-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-02T12:22:01-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] INFO: Processing chef_client[Mario] action create (basic_chef_client::block line 77)
[2015-07-02T12:22:01-07:00] WARN: Class Chef::Provider::ChefClient does not declare 'provides :chef_client'.
[2015-07-02T12:22:01-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found: chefzero://localhost:8889/clients/Mario
[2015-07-02T12:22:01-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-02T12:22:01-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-02T12:22:01-07:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2015-07-02T12:22:01-07:00] ERROR: Running exception handlers
Running handlers complete
[2015-07-02T12:22:01-07:00] ERROR: Exception handlers complete
[2015-07-02T12:22:01-07:00] FATAL: Stacktrace dumped to /Users/dtumkursreeni/.chef/local-mode-cache/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 64.504854 seconds
[2015-07-02T12:22:01-07:00] ERROR: machine[Mario](@recipe_files::/Users/dtumkursreeni/Tryitspossible/chef-provisioning/docs/examples/simple.rb line 77) had an error: RuntimeError: Error forwarding port: could not forward 8889 or 0
[2015-07-02T12:22:02-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
The text was updated successfully, but these errors were encountered: