{"action":"created","issue":{"url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/1","labels_url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/1/comments","events_url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/1/events","html_url":"https://github.com/criteo-cookbooks/wsus-server/issues/1","id":45309659,"number":1,"title":"Cookbook to converge completely on Windows Server 2012 R2","user":{"login":"rhass-r7","id":3372886,"avatar_url":"https://avatars.githubusercontent.com/u/3372886?v=3","gravatar_id":"","url":"https://api.github.com/users/rhass-r7","html_url":"https://github.com/rhass-r7","followers_url":"https://api.github.com/users/rhass-r7/followers","following_url":"https://api.github.com/users/rhass-r7/following{/other_user}","gists_url":"https://api.github.com/users/rhass-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass-r7/subscriptions","organizations_url":"https://api.github.com/users/rhass-r7/orgs","repos_url":"https://api.github.com/users/rhass-r7/repos","events_url":"https://api.github.com/users/rhass-r7/events{/privacy}","received_events_url":"https://api.github.com/users/rhass-r7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-08T23:20:38Z","updated_at":"2015-01-16T05:06:53Z","closed_at":null,"body":"The following error occurs when attempting to run the cookbook for the first time on a fresh Windows 2012R2 instance:\r\n\r\n```\r\n win2012r2 [2014-10-08T16:13:27-07:00] INFO: Processing windows_feature[IIS-WebServerRole] action install (iis::default line 22)\r\n win2012r2 [2014-10-08T16:14:16-07:00] INFO: windows_feature[IIS-WebServerRole] installed feature\r\n win2012r2 [2014-10-08T16:14:16-07:00] INFO: Processing windows_feature[IIS-WebServer] action install (iis::default line 22)\r\n win2012r2 [2014-10-08T16:14:18-07:00] INFO: Processing windows_feature[IIS-ApplicationDevelopment] action install (iis::default line 22)\r\n win2012r2 [2014-10-08T16:14:20-07:00] INFO: Processing windows_feature[IIS-ISAPIFilter] action install (iis::default line 22)\r\n win2012r2 [2014-10-08T16:14:28-07:00] INFO: windows_feature[IIS-ISAPIFilter] installed feature\r\n win2012r2 [2014-10-08T16:14:28-07:00] INFO: Processing windows_feature[IIS-ISAPIExtensions] action install (iis::default line 22)\r\n win2012r2 [2014-10-08T16:14:37-07:00] INFO: windows_feature[IIS-ISAPIExtensions] installed feature\r\n win2012r2 [2014-10-08T16:14:37-07:00] INFO: Processing windows_feature[IIS-NetFxExtensibility] action install (iis::default line 22)\r\n win2012r2 \r\n win2012r2 ================================================================================\r\n win2012r2 Error executing action `install` on resource 'windows_feature[IIS-NetFxExtensibility]'\r\n win2012r2 ================================================================================\r\n win2012r2 \r\n win2012r2 Mixlib::ShellOut::ShellCommandFailed\r\n win2012r2 ------------------------------------\r\n win2012r2 Expected process to exit with [0, 42, 127, 3010], but received '50'\r\n win2012r2 ---- Begin output of C:\\Windows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   ----\r\n win2012r2 STDOUT: Deployment Image Servicing and Management tool\r\n win2012r2 Version: 6.3.9600.16384\r\n win2012r2 \r\n win2012r2 Image Version: 6.3.9600.16384\r\n win2012r2 \r\n win2012r2 Enabling feature(s)\r\n win2012r2 \r\n win2012r2 Error: 50\r\n win2012r2 \r\n win2012r2 The operation is complete but IIS-NetFxExtensibility feature was not enabled.\r\n win2012r2 A required parent feature may not be enabled. You can use the /enable-feature /all option to automatically enable each parent feature from the following list. If the parent feature(s) are already enabled, refer to the log file for further diagnostics.\r\n win2012r2 NetFx3, NetFx3ServerFeatures, NetFx4Extended-ASPNET45\r\n win2012r2 \r\n win2012r2 The DISM log file can be found at C:\\Windows\\Logs\\DISM\\dism.log\r\n win2012r2 STDERR: \r\n win2012r2 ---- End output of C:\\Windows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   ----\r\n win2012r2 Ran C:\\Windows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   returned 50\r\n win2012r2 \r\n win2012r2 Cookbook Trace:\r\n win2012r2 ---------------\r\n win2012r2 c:/chef/cache/cookbooks/windows/providers/feature_dism.rb:28:in `install_feature'\r\n win2012r2 c:/chef/cache/cookbooks/windows/libraries/feature_base.rb:8:in `action_install'\r\n win2012r2 \r\n win2012r2 Resource Declaration:\r\n win2012r2 ---------------------\r\n win2012r2 # In c:/chef/cache/cookbooks/iis/recipes/default.rb\r\n win2012r2 \r\n win2012r2  22:   windows_feature feature do\r\n win2012r2  23:     action :install\r\n win2012r2  24:   end\r\n win2012r2  25: end\r\n win2012r2 \r\n win2012r2 Compiled Resource:\r\n win2012r2 ------------------\r\n win2012r2 # Declared in c:/chef/cache/cookbooks/iis/recipes/default.rb:22:in `block in from_file'\r\n win2012r2 \r\n win2012r2 windows_feature(\"IIS-NetFxExtensibility\") do\r\n win2012r2   provider Chef::Provider::WindowsFeatureDism\r\n win2012r2   action [:install]\r\n win2012r2   retries 0\r\n win2012r2   retry_delay 2\r\n win2012r2   guard_interpreter :default\r\n win2012r2   cookbook_name \"iis\"\r\n win2012r2   recipe_name \"default\"\r\n win2012r2   feature_name \"IIS-NetFxExtensibility\"\r\n win2012r2 end\r\n win2012r2 \r\n win2012r2 [2014-10-08T16:14:41-07:00] INFO: Running queued delayed notifications before re-raising exception\r\n win2012r2 [2014-10-08T16:14:41-07:00] ERROR: Running exception handlers\r\n win2012r2 [2014-10-08T16:14:41-07:00] ERROR: Exception handlers complete\r\n win2012r2 [2014-10-08T16:14:41-07:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out\r\n win2012r2 [2014-10-08T16:14:41-07:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: windows_feature[IIS-NetFxExtensibility] (iis::default line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 42, 127, 3010], but received '50'\r\n win2012r2 ---- Begin output of C:\\Windows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   ----\r\n win2012r2 STDOUT: Deployment Image Servicing and Management tool\r\n win2012r2 Version: 6.3.9600.16384\r\n win2012r2 \r\n win2012r2 Image Version: 6.3.9600.16384\r\n win2012r2 \r\n win2012r2 Enabling feature(s)\r\n win2012r2 \r\n win2012r2 Error: 50\r\n win2012r2 \r\n win2012r2 The operation is complete but IIS-NetFxExtensibility feature was not enabled.\r\n win2012r2 A required parent feature may not be enabled. You can use the /enable-feature /all option to automatically enable each parent feature from the following list. If the parent feature(s) are already enabled, refer to the log file for further diagnostics.\r\n win2012r2 NetFx3, NetFx3ServerFeatures, NetFx4Extended-ASPNET45\r\n win2012r2 \r\n win2012r2 The DISM log file can be found at C:\\Windows\\Logs\\DISM\\dism.log\r\n win2012r2 STDERR: \r\n win2012r2 ---- End output of C:\\Win\r\n win2012r2 dows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   ----\r\n win2012r2 Ran C:\\Windows\\sysnative\\dism.exe /online /enable-feature /featurename:IIS-NetFxExtensibility /norestart   returned 50\r\n```"},"comment":{"url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/comments/70208974","html_url":"https://github.com/criteo-cookbooks/wsus-server/issues/1#issuecomment-70208974","issue_url":"https://api.github.com/repos/criteo-cookbooks/wsus-server/issues/1","id":70208974,"user":{"login":"rhass-r7","id":3372886,"avatar_url":"https://avatars.githubusercontent.com/u/3372886?v=3","gravatar_id":"","url":"https://api.github.com/users/rhass-r7","html_url":"https://github.com/rhass-r7","followers_url":"https://api.github.com/users/rhass-r7/followers","following_url":"https://api.github.com/users/rhass-r7/following{/other_user}","gists_url":"https://api.github.com/users/rhass-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/rhass-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhass-r7/subscriptions","organizations_url":"https://api.github.com/users/rhass-r7/orgs","repos_url":"https://api.github.com/users/rhass-r7/repos","events_url":"https://api.github.com/users/rhass-r7/events{/privacy}","received_events_url":"https://api.github.com/users/rhass-r7/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T05:06:53Z","updated_at":"2015-01-16T05:06:53Z","body":"That is excellent news! Thanks for the update! =)"}}