Closed roperzh closed 9 months ago
@georgekarrv heads up this bug is coming back to product drafting to design some solution.
cc @zayhanlon
@georgekarrv Moving to awaiting QA.
Able to observe significantly improved profile assignment times in my local instance vs Dogfood.
Failed profile assign, A pause, then try again, Fleet's wisdom refines.
Fleet version: 4.39.0
💥 Actual behavior
When a macOS host is assigned a automatic enrollment (DEP) profile using Apple's AssignProfile API, the Apple server sometimes return a
200
response w/ an error in response body:Fleet is currently ignoring the response body, and we need to understand:
🧑💻 Steps to reproduce
Unclear what are the steps, but this is what I (Roberto) did:
🕯️ More info
The below fix is what we've heard has worked in the past from a reputable developer whose built open-source MDM solutions:
🛠️ To fix
Now:
FAILED
response for this host before retrying to assign the profile.4.39.04.40Later:
FAILED
response, wait 24 hours after theFAILED
response before retrying to assign the profile.UPDATE: As of now, no devices are failing DEP profile assignment. Customer used the wait 24 hours workaround for devices in prod. Seems like we (Fleet) need to repro ourselves. Plan is to close the bug and prioritize this story as a next step: https://github.com/fleetdm/fleet/issues/15461