fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Declaration (ddm) profiles stuck in pending state on host

Open PezHub opened this issue 1 year ago • 2 comments

Fleet version: Any

Web browser and operating system: any


💥  Actual behavior

Declaration profiles sent to macOS hosts are getting stuck in a pending state under various circumstances. For example if a declaration is added to a team, then removed from that team before the host comes online OR simply uploading a profile to the team then deleting it before it actually gets installed on the host.

🧑‍💻  Steps to reproduce

  1. Upload a declaration profile to a team
  2. quickly delete the profile from the team before it has time to install on the host
  3. navigate to the host details page
  4. observe the profile is stuck in a removal pending state

🕯️ More info (optional)

The same issue was recently discovered and addressed for mdm config profiles but unfortunately the fix did not apply to declarations. Hopefully we can apply a similar solution.

🛠️ To fix mdm config profile fix - #21891

PezHub avatar Oct 17 '24 01:10 PezHub

@jahzielv FYI

PezHub avatar Oct 17 '24 16:10 PezHub

QA Notes:

Fix looks good after running through the above scenarios

PezHub avatar Oct 18 '24 22:10 PezHub

Profiles pend in cloud, Fix would make Fleet users proud, Smooth as a shroud, unbowed.

fleet-release avatar Nov 12 '24 17:11 fleet-release