Uploaded image for project: 'Beaker'
  1. Beaker
  2. BKR-943

beaker-pe with frictionless windows agent does not apply inheritable SYSTEM permissions to directories it manages on Windows under certain circumstances

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: beaker-pe
    • Labels:
      None
    • Environment:

      This is for a pending PR, so affect version wasn't clear. The current version of beaker-pe I'm using is 0.10.1.

    • Template:
    • Acceptance Criteria:
      Hide

      When beaker-pe is used to frictionlessly install an agent, there is no longer a step like this:

      if (host['platform'] =~ /windows/) and (host['roles'].include? 'frictionless')
       client_datadir = host.puppet['client_datadir']
       on(host , puppet("resource file \"#{client_datadir}\" ensure=absent force=true"))
      end
      

      That shouldn't be needed because that client_datadir will have the correct permissions set on the 'first puppet run'.

      Show
      When beaker-pe is used to frictionlessly install an agent, there is no longer a step like this: if (host['platform'] =~ /windows/) and (host['roles'].include? 'frictionless') client_datadir = host.puppet['client_datadir'] on(host , puppet("resource file \"#{client_datadir}\" ensure=absent force=true")) end That shouldn't be needed because that client_datadir will have the correct permissions set on the 'first puppet run'.
    • Team:
      Quality Engineering

      Description

      If beaker-pe frictionlessly installs a windows agent, on the "first puppet agent run", the cache\client_data\catalog directory does not get the SYSTEM permissions applied to it.
      This causes orchestrator job runs to fail.
      Currently in beaker-pe there is a workaround for removing that directory after that first puppet run.
      PUP-5480 had a similar issue with mcollective, but that issue has been resolved.
      So if we're seeing this in beaker-pe there is some underlying cause that I am not seeing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              christopher.thorn Christopher Thorn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support