{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/2883","labels_url":"https://api.github.com/repos/chef/chef/issues/2883/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/2883/comments","events_url":"https://api.github.com/repos/chef/chef/issues/2883/events","html_url":"https://github.com/chef/chef/issues/2883","id":57094014,"number":2883,"title":"kitchen suddenly fails for strange reasons regarding default_attributes","user":{"login":"hntd187","id":6778339,"avatar_url":"https://avatars.githubusercontent.com/u/6778339?v=3","gravatar_id":"","url":"https://api.github.com/users/hntd187","html_url":"https://github.com/hntd187","followers_url":"https://api.github.com/users/hntd187/followers","following_url":"https://api.github.com/users/hntd187/following{/other_user}","gists_url":"https://api.github.com/users/hntd187/gists{/gist_id}","starred_url":"https://api.github.com/users/hntd187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hntd187/subscriptions","organizations_url":"https://api.github.com/users/hntd187/orgs","repos_url":"https://api.github.com/users/hntd187/repos","events_url":"https://api.github.com/users/hntd187/events{/privacy}","received_events_url":"https://api.github.com/users/hntd187/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T21:40:11Z","updated_at":"2015-02-10T13:52:50Z","closed_at":null,"body":"Myself on Fedora 21 and my co-worker on Ubuntu 14 are experiencing the same error with chefdk 0.4.0 in which the following occurs.\r\n\r\n```\r\n-----> Starting Kitchen (v1.3.1)\r\n-----> Converging <default-centos-7-opscode>...\r\n       Preparing files for transfer\r\n       Preparing dna.json\r\n       Resolving cookbook dependencies with Berkshelf 3.2.3...\r\n       Removing non-cookbook files before transfer\r\n       Preparing environments\r\n       Preparing solo.rb\r\n-----> Chef Omnibus installation detected (11.18.6)\r\n       Transferring files to <default-centos-7-opscode>\r\n       [2015-02-09T21:28:08+00:00] WARN: \r\n       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r\n       SSL validation of HTTPS requests is disabled. HTTPS connections are still\r\n       encrypted, but chef is not able to detect forged replies or man in the middle\r\n       attacks.\r\n       \r\n       To fix this issue add an entry like this to your configuration file:\r\n       \r\n       ```\r\n         # Verify all HTTPS connections (recommended)\r\n         ssl_verify_mode :verify_peer\r\n       \r\n         # OR, Verify only connections to chef-server\r\n         verify_api_cert true\r\n       ```\r\n       \r\n       To check your SSL configuration, or troubleshoot errors, you can use the\r\n       `knife ssl check` command like so:\r\n       \r\n       ```\r\n         knife ssl check -c /tmp/kitchen/solo.rb\r\n       ```\r\n       \r\n       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\r\n       \r\n       Starting Chef Client, version 11.18.6\r\n       \r\n       ================================================================================\r\n       Error expanding the run_list:\r\n       ================================================================================\r\n       \r\n       Unexpected Error:\r\n       -----------------\r\n       NoMethodError: undefined method `default_attributes' for #<Hash:0x00000002b48640>\r\n       \r\n       [2015-02-09T21:28:13+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out\r\n       Chef Client failed. 0 resources updated in 5.73037401 seconds\r\n       [2015-02-09T21:28:13+00:00] ERROR: undefined method `default_attributes' for #<Hash:0x00000002b48640>\r\n       [2015-02-09T21:28:13+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n>>>>>> Converge failed on instance <default-centos-7-opscode>.\r\n>>>>>> Please see .kitchen/logs/default-centos-7-opscode.log for more details\r\n>>>>>> ------Exception-------\r\n>>>>>> Class: Kitchen::ActionFailed\r\n>>>>>> Message: SSH exited (1) for command: [sh -c '\r\nsudo -E /opt/chef/bin/chef-solo --config /tmp/kitchen/solo.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json\r\n']\r\n>>>>>> ----------------------\r\n```\r\n\r\ndna.json does not appear to be out of the ordinary...\r\n```\r\n{\"tomcat\":{\"base_version\":7},\"postgresql\":{\"password\":{\"postgres\":\"password\"}},\"run_list\":[\"recipe[yum-epel::default]\",\"recipe[neuron-utilities::aws_config]\",\"recipe[neuron-utilities::aws_sdk]\",\"recipe[neuron-core::default]\"]}\r\n```\r\n\r\nhere is my .kitchen.yml\r\n\r\n```\r\n---\r\ndriver:\r\n  name: vagrant\r\n\r\nprovisioner:\r\n  name: chef_solo\r\n  environments_path: ../../environments\r\n  require_chef_omnibus: 11.18.6                                                                                                                                                                                                               \r\nplatforms:\r\n  - name: centos-7-opscode\r\n    driver:\r\n      box: centos-7-opscode\r\n      box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-7.0_chef-provisionerless.box\r\n\r\nsuites:\r\n  - name: default\r\n    provisioner:\r\n      solo_rb:\r\n        environment: development\r\n    run_list:\r\n      - recipe[yum-epel::default]\r\n      - recipe[neuron-utilities::aws_config]\r\n      - recipe[neuron-utilities::aws_sdk]\r\n      - recipe[neuron-core::default]\r\n    attributes: {\r\n        tomcat: {\r\n                base_version: 7 \r\n        },\r\n        postgresql: {\r\n                password: {\r\n                       postgres: \"password\"\r\n                }\r\n        }\r\n}\r\n```\r\n\r\nIs anyone experiencing similar issues or have any insight about how to fix this? This happened very suddenly and happens on kitchen 1.2.1 and chef 12 as well."},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/73701811","html_url":"https://github.com/chef/chef/issues/2883#issuecomment-73701811","issue_url":"https://api.github.com/repos/chef/chef/issues/2883","id":73701811,"user":{"login":"juliandunn","id":841412,"avatar_url":"https://avatars.githubusercontent.com/u/841412?v=3","gravatar_id":"","url":"https://api.github.com/users/juliandunn","html_url":"https://github.com/juliandunn","followers_url":"https://api.github.com/users/juliandunn/followers","following_url":"https://api.github.com/users/juliandunn/following{/other_user}","gists_url":"https://api.github.com/users/juliandunn/gists{/gist_id}","starred_url":"https://api.github.com/users/juliandunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliandunn/subscriptions","organizations_url":"https://api.github.com/users/juliandunn/orgs","repos_url":"https://api.github.com/users/juliandunn/repos","events_url":"https://api.github.com/users/juliandunn/events{/privacy}","received_events_url":"https://api.github.com/users/juliandunn/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T13:52:50Z","updated_at":"2015-02-10T13:52:50Z","body":"Post your `/tmp/kitchen/cache/chef-stacktrace.out` ?"}}