fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Puppet module might unintentionally remove profiles from a team if one or more `/preassign` call fails but the `/match` succeeds

Open roperzh opened this issue 1 year ago • 6 comments

Fleet version: 4.44.1, Puppet module: 0.2.3


💥  Actual behavior

Some profiles were removed from a team.

🧑‍💻  Steps to reproduce

  1. Assign 3 profiles to a team
  2. Make a Puppet run succeed
  3. Make another Puppet run, but this time force a failure in one or more preassign API calls
  4. Observe how the profiles are removed

🕯️ More info (optional)

The inner workings of the Puppet module are described here

image

roperzh avatar Feb 19 '24 14:02 roperzh

@georgekarrv, this was caught in the NO-TEAM-SEARCH query. Add mdm label?

sharon-fdm avatar Feb 20 '24 17:02 sharon-fdm

@sharon-fdm yes, thanks and sorry for missing it!

roperzh avatar Feb 20 '24 20:02 roperzh

thanks to @sabrinabuckets we found an issue with the current implementation, pulling from "Awaiting QA" until it's fixed

roperzh avatar Mar 01 '24 15:03 roperzh

@sabrinabuckets a fix has been merged, moving this back to the QA column, sorry for the inconvenience! 🙏

roperzh avatar Mar 01 '24 15:03 roperzh

@roperzh perfect! I will find a time for us to re-test!

sabrinabuckets avatar Mar 01 '24 16:03 sabrinabuckets

Paired with Roberto to reproduce original issue and verify fix.

sabrinabuckets avatar Mar 04 '24 14:03 sabrinabuckets

I couldn't think of a haiku this time. (See fleetdm.com logs for more information.)

fleet-release avatar Mar 12 '24 23:03 fleet-release