Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7696

Problem with wsus_client trying to restart the service but the service is already running

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wsus_client
    • Labels:
      None
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 1.03
      Puppet Version: PE 2018.1.2
      OS Name/Version: PE Server on Linux RHEL 7 - Agent on Windows 2016

      windows update service on windows 2016 (and also on 2012R2) is configured in "Manual" by default. wsus_client module try to set it in "Automatic".
      When I install puppet just after the server installation or if during the first puppet run on the server if the Windows Update service is running I get an error because puppet try to start the service but the service is already started.

      Desired Behavior:
      Do not get an error.

      Actual Behavior:
      When puppet is run i get this output:

      Notice: /Stage[main]/Wsus_client/Service[wuauserv]/enable: enable changed 'manual' to 'true'
      Info: Class[Wsus_client]: Unscheduling all events on Class[Wsus_client]
      Error: /Stage[main]/Wsus_client/Service[wuauserv]: Failed to call refresh: Cannot start wuauserv, error was: Execution of 'C:/Windows/system32/net.exe start wuauserv' returned 2: The requested service has already been started.
       
      More help is available by typing NET HELPMSG 2182.
      Error: /Stage[main]/Wsus_client/Service[wuauserv]: Cannot start wuauserv, error was: Execution of 'C:/Windows/system32/net.exe start wuauserv' returned 2: The requested service has already been started.
       
      More help is available by typing NET HELPMSG 2182.
      Wrapped exception:
      Execution of 'C:/Windows/system32/net.exe start wuauserv' returned 2: The requested service has already been started.
       
      More help is available by typing NET HELPMSG 2182.
      Notice: Applied catalog in 6.47 seconds
      
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  fduranti Francesco Duranti
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Zendesk Support