-
Notifications
You must be signed in to change notification settings - Fork 843
Android host certificate templates not cleared when device is re-enrolled #42600
Copy link
Copy link
Open
Open
Copy link
Labels
#g-power-to-pcPower to the PC working groupPower to the PC working group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allowsThis issue can be QA'd by anyone outside the QA team when capacity allows~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Metadata
Metadata
Assignees
Labels
#g-power-to-pcPower to the PC working groupPower to the PC working group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allowsThis issue can be QA'd by anyone outside the QA team when capacity allows~released bugThis bug was found in a stable release.This bug was found in a stable release.
Type
Projects
Status
✔️Awaiting QA
Fleet versions Fleet orbit-v1.53.0-945-g66b5947b48-dirty • Go go1.26.1
💥 Actual behavior
Unenrolling and re-enrolling a device without deleting it from fleet doesn't clear the host certificates templates rows associated with it, meaning all install success/failures are still tracked on the server even if they're not on the device any longer.
🛠️ To fix
Clear the records for in the host_certificate_templates associated with a host either when it gets un-enrolled, or enrolled to a pre-existing host
🧑💻 Steps to reproduce
These steps:
🕯️ More info (optional)
N/A