fleet icon indicating copy to clipboard operation
fleet copied to clipboard

🪲Missing primary key for vulnerability_host_counts table

Open mason-buettner opened this issue 8 months ago • 2 comments

Fleet version: 4.67

Web browser and operating system: N/A


💥  Actual behavior

Self-hosted users have reported receiving alerts that the vulnerability_host_counts table is missing a primary key.

🧑‍💻  Steps to reproduce

  1. TODO

🕯️ More info (optional)

N/A

mason-buettner avatar May 19 '25 21:05 mason-buettner

Linked to Unthread ticket:

Missing Primary Key in Fleet DB Table #6177

Sampfluger88 avatar May 19 '25 21:05 Sampfluger88

@mostlikelee Does this need more investigation? Not sure if the Unthread ticket is enough context?

eugkuo avatar Jun 20 '25 14:06 eugkuo

I believe the core issue here is a missing primary key generates a lot of warning logs. I'll confirm with the infra team.

https://fleetdm.slack.com/archives/C051QJU3D0V/p1753732438804589

mostlikelee avatar Jul 28 '25 19:07 mostlikelee

@mason-buettner the slack thread didn't have any info on the impact of the missing key. Can you get more info here?

mostlikelee avatar Jul 30 '25 21:07 mostlikelee

@mostlikelee I believe the extent of the impact was the generation of warning logs. I'll confirm with customer-blanco.

mason-buettner avatar Jul 30 '25 22:07 mason-buettner

@mostlikelee confirmed that there was no further impact beyond the warnings.

mason-buettner avatar Jul 31 '25 16:07 mason-buettner

@mason-buettner looking at the empty repro steps, I'm assuming you haven't been able to reproduce.

If you have repro steps, please add them!

@mostlikelee @jmwatts sending the bug back to the "Inbox" state to help with repro: https://fleetdm.com/handbook/company/product-groups#inbox

noahtalerman avatar Aug 14 '25 13:08 noahtalerman

@mason-buettner we need a mysql version and configuration for repro

mostlikelee avatar Sep 03 '25 15:09 mostlikelee

@mostlikelee we spoke with customer-blanco and asked for further info for reproduction. At this time the impact is limited to warnings, and we're going to close this ticket until we can get further information to enrich this report.

mason-buettner avatar Sep 03 '25 21:09 mason-buettner

Key lost in the cloud, Fleet finds, secures anew. Users breathe, relieved.

fleet-release avatar Sep 03 '25 21:09 fleet-release