{"action":"opened","issue":{"url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/170","repository_url":"https://api.github.com/repos/chef/chef-provisioning-fog","labels_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/170/comments","events_url":"https://api.github.com/repos/chef/chef-provisioning-fog/issues/170/events","html_url":"https://github.com/chef/chef-provisioning-fog/issues/170","id":135565547,"number":170,"title":"[softlayer] NoMethodError: undefined method `status'","user":{"login":"username-is-already-taken2","id":13700297,"avatar_url":"https://avatars.githubusercontent.com/u/13700297?v=3","gravatar_id":"","url":"https://api.github.com/users/username-is-already-taken2","html_url":"https://github.com/username-is-already-taken2","followers_url":"https://api.github.com/users/username-is-already-taken2/followers","following_url":"https://api.github.com/users/username-is-already-taken2/following{/other_user}","gists_url":"https://api.github.com/users/username-is-already-taken2/gists{/gist_id}","starred_url":"https://api.github.com/users/username-is-already-taken2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/username-is-already-taken2/subscriptions","organizations_url":"https://api.github.com/users/username-is-already-taken2/orgs","repos_url":"https://api.github.com/users/username-is-already-taken2/repos","events_url":"https://api.github.com/users/username-is-already-taken2/events{/privacy}","received_events_url":"https://api.github.com/users/username-is-already-taken2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T22:29:32Z","updated_at":"2016-02-22T22:29:32Z","closed_at":null,"body":"Hi there\r\n\r\nI wanted to contribute a working example for softlayer so I went to create one this evening.\r\n\r\nI've got it provisioning the machines but its failing with this error at the very end.\r\n\r\n`NoMethodError\r\n    -------------\r\n    undefined method status for #<Fog::Compute::Softlayer::Server:0x007fd781e9bac8>`\r\n\r\nIt successfully initiates the new instance on softlayer\r\n\r\nHere is my stack trace\r\n\r\n```\r\nGenerated at 2016-02-22 22:11:09 +0000\r\nNoMethodError: machine[mario] (@recipe_files::/Users/gary/chef-repo/cookbooks/chef-provision-softlayer/recipes/softlayer.rb line 14) had an error: NoMethodError: undefined method status for #<Fog::Compute::Softlayer::Server:0x007fd781e9bac8>\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-provisioning-fog-0.16.0/lib/chef/provisioning/fog_driver/driver.rb:374:in start_server\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-provisioning-fog-0.16.0/lib/chef/provisioning/fog_driver/driver.rb:209:in ready_machine\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-provisioning-1.6.0/lib/chef/provider/machine.rb:39:in block in <class:Machine>\r\n(eval):2:in block in action_ready\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider.rb:360:in instance_eval\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider.rb:360:in compile_and_converge_action\r\n(eval):2:in action_ready\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-provisioning-1.6.0/lib/chef/provider/machine.rb:56:in block in <class:Machine>\r\n(eval):2:in block in action_converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider.rb:360:in instance_eval\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider.rb:360:in compile_and_converge_action\r\n(eval):2:in action_converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/provider.rb:144:in run_action\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource.rb:596:in run_action\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/runner.rb:73:in run_action\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/runner.rb:105:in block (2 levels) in converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/runner.rb:105:in each\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/runner.rb:105:in block in converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/resource_list.rb:83:in block in execute_each_resource\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/stepable_iterator.rb:116:in call\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/stepable_iterator.rb:85:in step\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/resource_collection/resource_list.rb:81:in execute_each_resource\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/runner.rb:104:in converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/client.rb:668:in block in converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/client.rb:663:in catch\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/client.rb:663:in converge\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/client.rb:702:in converge_and_save\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/client.rb:280:in run\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:270:in block in fork_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:258:in fork\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:258:in fork_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:223:in block in run_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/local_mode.rb:44:in with_server_connectivity\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:211:in run_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application/client.rb:433:in block in interval_run_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application/client.rb:423:in loop\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application/client.rb:423:in interval_run_chef_client\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application/client.rb:412:in run_application\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application.rb:58:in run\r\n/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/bin/chef-client:26:in <top (required)>\r\n/usr/local/bin/chef-client:50:in load\r\n/usr/local/bin/chef-client:50:in <main>\r\n```\r\n\r\nThis is my provisioning script\r\n\r\n```\r\nrequire 'chef/provisioning’\r\n\r\nwith_machine_options({\r\n                       :bootstrap_options => {\r\n                         :domain => ‘supernintendo.com’,\r\n                         :flavor_id => 'm1.tiny’,\r\n                         :os_code => ‘UBUNTU_LATEST’,\r\n                         :datacenter => ‘ams03’,\r\n                         :hourly_billing_flag => ‘true’,\r\n                         :ephemeral_storage => ‘true’\r\n                         },\r\n                     })\r\n\r\nmachine ‘mario’\r\n```\r\n\r\nI would appreciate your help\r\n\r\nThanks\r\n\r\nGary"}}