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

Puppet service hangs when attempting to stop on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      2
    • Sprint:
      2014-08-20, 2014-09-03

      Description

      There is a race condition in the Puppet service code that prevents it from properly stopping.

      Generally speaking this can be reproduced by installing from the MSI, then attempting to upgrade / remove the MSI shortly thereafter.

      In the wild, we've noticed it can be either puppet / pe-puppet or mcollective / pe-mcollective, so the service code for puppet and mcollective should both be addressed.

      This has also been experienced in the Azure environment, where the Azure extension handler code addresses this by force stopping the service process by PID if the service doesn't exit gracefully.
      https://github.com/puppetlabs/azure-extension-handler/blob/master/installer/windows.ps1#L137-L149

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ethan Ethan Brown
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support