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

puppet agent doesn't run properly when avast anti-virus running

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PUP 5.5.2
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Windows 10 x64

      Avast anti virus active

    • Template:
      PUP Bug Template
    • Team:
      Windows
    • Method Found:
      Needs Assessment
    • CS Priority:
      Reviewed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Overview

      Unable to run puppet agent on windows 10 when Avast anti-virus is active

       

      Expected result

      Expect puppet agent to work without error

       

      Actual result

      Tons of errors all over the place where the AV agent blocks puppet

      C:\WINDOWS\system32>puppet agent -t
      Info: Caching certificate for bpm-r1.lan.asio
      Info: Caching certificate_revocation_list for ca
      Info: Caching certificate for bpm-r1.lan.asio
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Notice: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib/facter]/ensure: created
      Notice: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/aio_agent_build.rb]/ensure: defined content as '{md5}cdcc1ff07bc245c66cc1d46be56b3af5'
      Notice: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/aio_agent_version.rb]/ensure: defined content as '{md5}d05c8cbf788f47d33efd46a935dda61e'
      Error: ReplaceFile(C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/archive_windir.rb, C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/archive_windir.rb20180624-10408-1ezfsm4): Unable to remove the file to be replaced.
      Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/archive_windir.rb]/ensure: change from 'absent' to 'file' failed: ReplaceFile(C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/archive_windir.rb, C:/ProgramData/PuppetLabs/puppet/cache/lib/facter/archive_windir.rb20180624-10408-1ezfsm4): Unable to remove the file to be replaced.

       

      Analysis

      Disabling all avast shields, Puppet agent works as expected (see screenshot)

       

      Workaround

      Remove anti-virus or set exclusions

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              geoff@declarativesystems.com Geoff Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support