Issue #16080 has been updated by Josh Cooper.
This appears to be an issue with a particular kernel driver, tsusbhub.sys, when trying to get the service's description. I can reproduce using built-in windows commands: <pre> C:\>sc qdescription tsusbhub [SC] QueryServiceConfig2 FAILED 1813: The specified resource type cannot be found in the image file. </pre> The registry lists a description entry: <pre> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tsusbhub] "Description"="@%SystemRoot%\\system32\\drivers\\tsusbhub.sys,-2" </pre> But the image does not contain a section for that. In any case, the win32-service gem should not fail to enumerate services due to a service missing a description. ---------------------------------------- Bug #16080: Service provider broken in Windows Server 2012 https://projects.puppetlabs.com/issues/16080#change-92082 * Author: Josh Cooper * Status: Accepted * Priority: High * Assignee: * Category: * Target version: 3.3.0 * Affected Puppet version: 2.7.19 * Keywords: windows service backlog * Branch: ---------------------------------------- Windows Server 2012 will be GA released Sept 4th. When running the RC, I get the following: <pre> C:\Program Files (x86)\Puppet Labs\Puppet\bin>envpuppet puppet resource service C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.8/gems/win32-service-0.7.2-x86-mingw32/lib/win32/service.rb:1450:in `get_config2_info': The specified resource type cannot be found in the image file. (Win32::Service::Error) from C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.8/gems/win32-service-0.7.2-x86-mingw32/lib/win32/service.rb:1157:in `services' from C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.8/gems/win32-service-0.7.2-x86-mingw32/lib/win32/service.rb:1098:in `upto' from C:/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.8/gems/win32-service-0.7.2-x86-mingw32/lib/win32/service.rb:1098:in `services' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/provider/service/windows.rb:111:in `instances' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/type.rb:896:in `instances' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/type.rb:889:in `collect' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/type.rb:889:in `instances' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/indirector/resource/ral.rb:14:in `search' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/indirector/indirection.rb:255:in `search' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application/resource.rb:234:in `find_or_save_resources' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application/resource.rb:144:in `main' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:317:in `run_command' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:309:in `run' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:416:in `hook' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:309:in `run' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:407:in `exit_on_fail' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/application.rb:309:in `run' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../lib/puppet/util/command_line.rb:69:in `execute' from C:/Program Files (x86)/Puppet Labs/Puppet/puppet/ext/../bin/puppet:4 </pre> The win32-service gem is calling `QueryServiceConfig2` for the `SERVICE_CONFIG_DESCRIPTION` but this fails with exit code 1813 "The specified resource type cannot be found in the image file." -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
