-
Notifications
You must be signed in to change notification settings - Fork 874
osquery RocksDB corrupted, causing host to silently transfer to undesired fleet #43294
Copy link
Copy link
Open
Labels
#g-orchestrationOrchestration product groupOrchestration product 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.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needUrgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documentedSomething isn't working as documentedcustomer-numa
Milestone
Metadata
Metadata
Assignees
Labels
#g-orchestrationOrchestration product groupOrchestration product 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.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needUrgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documentedSomething isn't working as documentedcustomer-numa
Type
Projects
Status
🦤 In review
Fleet versions 4.83.0, Orbit 1.53.1
Web browser and operating system: macOS 26.4
💥 Actual behavior
A computer enrolled into the production
customer-numaFleet server experienced RocksDB corruption, which caused it to re-enroll into Fleet using the original enroll secret it was enrolled with.In practice, this caused the host to transfer to a different fleet, which triggered an unintended removal of profiles.
🛠️ To fix
🧑💻 Steps to reproduce
These steps:
We have not been able to reproduce the RocksDB corruption that triggered this in the first place, but the enrollment back into the original team (rather than current) can be reproduced by doing the following:
sudo rm -rf /opt/orbit/osquery.db)sudo launchctl kickstart -k system/com.fleetdm.orbit)🕯️ More info (optional)
Internal Slack thread w/ engineering (includes link to customer thread with logs): https://fleetdm.slack.com/archives/C019WG4GH0A/p1775494092467729