{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3642","labels_url":"https://api.github.com/repos/chef/chef/issues/3642/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3642/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3642/events","html_url":"https://github.com/chef/chef/issues/3642","id":93605398,"number":3642,"title":"Installing Chef 12 on RHEL7","user":{"login":"jimmycliff","id":5769755,"avatar_url":"https://avatars.githubusercontent.com/u/5769755?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmycliff","html_url":"https://github.com/jimmycliff","followers_url":"https://api.github.com/users/jimmycliff/followers","following_url":"https://api.github.com/users/jimmycliff/following{/other_user}","gists_url":"https://api.github.com/users/jimmycliff/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmycliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmycliff/subscriptions","organizations_url":"https://api.github.com/users/jimmycliff/orgs","repos_url":"https://api.github.com/users/jimmycliff/repos","events_url":"https://api.github.com/users/jimmycliff/events{/privacy}","received_events_url":"https://api.github.com/users/jimmycliff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T19:07:29Z","updated_at":"2015-07-07T19:24:05Z","closed_at":"2015-07-07T19:24:05Z","body":"Hi,\r\n\r\nI'm getting a RuntimeError trying to install Chef 12 on RHEL 7.  \r\n\r\nI am following the installation instructions at http://docs.chef.io/server/install_server.html#standalone\r\n\r\nIt appears that the the RHEL7 platform is not rhel?\r\n\r\nScreenshot below:\r\n\r\n```\r\n[root@cp-chef12dev ~]# rpm -ivh https://web-dl.packagecloud.io/chef/stable/packages/el/7/chef-server-core-12.1.0-1.el7.x86_64.rpm\r\nRetrieving https://web-dl.packagecloud.io/chef/stable/packages/el/7/chef-server-core-12.1.0-1.el7.x86_64.rpm\r\nwarning: /var/tmp/rpm-tmp.t46bDz: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY\r\nPreparing...                          ################################# [100%]\r\nUpdating / installing...\r\n   1:chef-server-core-12.1.0-1.el7    ################################# [100%]\r\n[root@cp-chef12dev ~]#\r\n[root@cp-chef12dev ~]# chef-server-ctl install opscode-manage\r\nStarting Chef Client, version 12.4.0.rc.2\r\nresolving cookbooks for run list: [\"private-chef::add_ons_wrapper\"]\r\nSynchronizing Cookbooks:\r\n  - enterprise\r\n  - yum\r\n  - apt\r\n  - runit\r\n  - private-chef\r\n  - packagecloud\r\nCompiling Cookbooks...\r\n\r\n================================================================================\r\nRecipe Compile Error in /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_wrapper.rb\r\n================================================================================\r\n\r\nRuntimeError\r\n------------\r\nI don't know how to install addons for platform family:\r\n\r\nCookbook Trace:\r\n---------------\r\n  /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_remote.rb:44:in `from_file'\r\n  /opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_wrapper.rb:47:in `from_file'\r\n\r\nRelevant File Content:\r\n----------------------\r\n/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_remote.rb:\r\n\r\n 37:      gpgcheck true\r\n 38:      action :create\r\n 39:    end\r\n 40:\r\n 41:  else\r\n 42:    # TODO: probably don't actually want to fail out?  Say, on any platform where\r\n 43:    # this would have to be done manually.\r\n 44>>   raise \"I don't know how to install addons for platform family: #{node['platform_family']}\"\r\n 45:  end\r\n 46:\r\n 47:  node['private_chef']['addons']['packages'].each do |pkg|\r\n 48:    package pkg do\r\n 49:      notifies :create, \"ruby_block[addon_install_notification_#{pkg}]\", :immediate\r\n 50:    end\r\n 51:  end\r\n 52:\r\n\r\n\r\nRunning handlers:\r\n  - #<Class:0x00000003abf2b8>::AddonInstallHandler\r\nRunning handlers complete\r\nChef Client failed. 0 resources updated in 1.817571381 seconds\r\n[2015-07-07T14:59:27-04:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out\r\n[2015-07-07T14:59:27-04:00] FATAL: Chef::Exceptions::RunFailedWrappingError: Found 1 errors, they are stored in the backtrace\r\n[root@cp-chef12dev ~]# more /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out\r\nGenerated at 2015-07-07 14:59:27 -0400\r\nChef::Exceptions::RunFailedWrappingError: Found 1 errors, they are stored in the backtrace\r\n1) RuntimeError -  I don't know how to install addons for platform family:\r\n/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_remote.rb:44:in `from_file'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/mixin/from_file.rb:30:in `from_file'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/cookbook_version.rb:228:in `load_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:174:in `load_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:143:in `block in include_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:142:in `each'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:142:in `include_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/dsl/include_recipe.rb:26:in `include_recipe'\r\n/opt/opscode/embedded/cookbooks/cache/cookbooks/private-chef/recipes/add_ons_wrapper.rb:47:in `from_file'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/mixin/from_file.rb:30:in `instance_eval'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/mixin/from_file.rb:30:in `from_file'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/cookbook_version.rb:228:in `load_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:174:in `load_recipe'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context/cookbook_compiler.rb:140:in `block in compile_recipes'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context/cookbook_compiler.rb:138:in `each'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context/cookbook_compiler.rb:138:in `compile_recipes'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context/cookbook_compiler.rb:75:in `compile'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/run_context.rb:97:in `load'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/policy_builder/expand_node_object.rb:87:in `setup_run_context'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/client.rb:480:in `setup_run_context'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/client.rb:266:in `run'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/application.rb:252:in `run_with_graceful_exit_option'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/application.rb:229:in `block in run_chef_client'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/local_mode.rb:39:in `with_server_connectivity'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/application.rb:212:in `run_chef_client'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/application/client.rb:375:in `run_application'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/lib/chef/application.rb:60:in `run'\r\n/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.2/bin/chef-client:26:in `<top (required)>'\r\n/opt/opscode/embedded/bin/chef-client:23:in `load'\r\n/opt/opscode/embedded/bin/chef-client:23:in `<main>'\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/119309246","html_url":"https://github.com/chef/chef/issues/3642#issuecomment-119309246","issue_url":"https://api.github.com/repos/chef/chef/issues/3642","id":119309246,"user":{"login":"coderanger","id":128243,"avatar_url":"https://avatars.githubusercontent.com/u/128243?v=3","gravatar_id":"","url":"https://api.github.com/users/coderanger","html_url":"https://github.com/coderanger","followers_url":"https://api.github.com/users/coderanger/followers","following_url":"https://api.github.com/users/coderanger/following{/other_user}","gists_url":"https://api.github.com/users/coderanger/gists{/gist_id}","starred_url":"https://api.github.com/users/coderanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderanger/subscriptions","organizations_url":"https://api.github.com/users/coderanger/orgs","repos_url":"https://api.github.com/users/coderanger/repos","events_url":"https://api.github.com/users/coderanger/events{/privacy}","received_events_url":"https://api.github.com/users/coderanger/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T19:24:05Z","updated_at":"2015-07-07T19:24:05Z","body":"Chef Server is not supported on RHEL 7 at this time. Additionally this would be an issue for the chef-server project."}}