Issue #16080 has been reported by Josh Cooper.

----------------------------------------
Bug #16080: Service provider broken in Windows Server 2012 RC
https://projects.puppetlabs.com/issues/16080

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.19
Keywords: windows service 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to