Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6459

puppet resource service fails on Windows 10 Pro (x64)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • PUP 4.5.2
    • PUP 4.5.4, PUP 4.6.0
    • Windows
    • None
    • 2
    • Windows 2016-08-10
    • Bug Fix
    • `puppet resource service` could fail on Windows when there are certain types of delayed auto start services. In particular, it would always fail on Windows 10 due to the `pvhdparser` service.

    Description

      Running puppet resource service on Windows 10 fails with

      WARNING: Failed to retreive description for the pvhdparser service.
      Error: Could not run: No such device or address - QueryServiceConfig2: The handle is invalid.
      

      This seems to originate in the win32/service gem:

      irb(main):001:0> require 'win32/service'
      => true
      irb(main):002:0> Win32::Service.services
      WARNING: Failed to retreive description for the pvhdparser service.
      Errno::ENXIO: No such device or address - QueryServiceConfig2: The handle is invalid.

      Attachments

        Issue Links

          Activity

            People

              erick Erick Banks
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support