Fleet version: 4.77.0
Web browser and operating system: MacOS
💥 Actual behavior
Customer-Starchik reports that after using the /configuration_profiles/batch API endpoint to change the name of a profile (specifically to update the capitalization of the display name) they see thousands of pending remove operations for the previous profile name.
🛠️ To fix
Timeboxing to try to repro and either fix or come back with more information since the root cause is not fully understood and attempts to repro have failed so far
Changing the name of a configuration profile but not its identifier or contents should not result in it being "stuck" removing
🧑💻 Steps to reproduce
These steps:
- Upload a DDM profile to any team
- See the profile gets verified/verifying on at least a single host
- Use the API endpoint directly, to update the display_name, and ONLY the casing.
- See new install/verified entry, and stuck remove/pending.
There is another situtation I saw in my testing:
- Upload a DDM profile
- Make it go to install/verified
- Remove the profile simply
- See it seems to be stuck in pending/remove.
🕯️ More info (optional)
Internal thread discussing the issue: https://fleetdm.slack.com/archives/C019WG4GH0A/p1771600486408069
Thread with Starchik: https://fleetdm.slack.com/archives/C04JZ9JQS4U/p1771543468955899
Notes on fix:
Once reproed with stale entry of remove/pending, run on the fix branch, and see the profile should self-heal within 30-60 seconds when the DDM reconciler runs.
Fleet version: 4.77.0
Web browser and operating system: MacOS
💥 Actual behavior
Customer-Starchikreports that after using the/configuration_profiles/batchAPI endpoint to change the name of a profile (specifically to update the capitalization of the display name) they see thousands of pending remove operations for the previous profile name.🛠️ To fix
Timeboxing to try to repro and either fix or come back with more information since the root cause is not fully understood and attempts to repro have failed so far
Changing the name of a configuration profile but not its identifier or contents should not result in it being "stuck" removing
🧑💻 Steps to reproduce
These steps:
There is another situtation I saw in my testing:
🕯️ More info (optional)
Internal thread discussing the issue: https://fleetdm.slack.com/archives/C019WG4GH0A/p1771600486408069
Thread with
Starchik: https://fleetdm.slack.com/archives/C04JZ9JQS4U/p1771543468955899Notes on fix:
Once reproed with stale entry of remove/pending, run on the fix branch, and see the profile should self-heal within 30-60 seconds when the DDM reconciler runs.