fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3k stars 416 forks source link

Software not displaying on "All teams" or "software" tab of the host details page #19348

Closed pacamaster closed 3 months ago

pacamaster commented 4 months ago

Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version --> 4.50.0 Web browser and operating system: This user has google chrome, Version 125.0.6422.141 (Official Build) (arm64) (however this has been reported by all customer-preston employees)


💥  Actual behavior

When viewing all teams for the tagged client, they do not see any software for their entire fleet. Compared to dogfood, this is different. The modal is correct as it is not set up to send "all teams" software. Can share recording if needed. image

Our dogfood image

🧑‍💻  Steps to reproduce

  1. Have mix of devices enrolled in Fleet with different teams
  2. Select Software tab, defaults to All Teams
  3. Notice no software displayed

🕯️ More info (optional)

Related feature request: https://github.com/fleetdm/fleet/issues/19546

QA Testplan

The fix involves the following: Host details page and device details page are now showing the latest software.

Load test is required. Monitor initial device enrollment and hourly device refresh for any performance spikes.

jacobshandling commented 4 months ago

@noahtalerman do you have a screenshot or knowledge of the API response from the software/titles endpoint? If the software is in the api response, it's a UI issue, but most likely it's backend.

zayhanlon commented 4 months ago

Here is a duplicate ticket I created - #19452 
I think there was some missing info in this original one so let me know if there are any questions!

JoStableford commented 4 months ago

Related to a Slack conversation

rfairburn commented 4 months ago

@xpkoala didn't you see the same on the QAWolf environment until a vuln scan successfully ran and cleaned it up? Maybe this could be attributed to interrupted vuln scans?

xpkoala commented 4 months ago

@rfairburn hrrm, I don't know that it's related to the vuln scan not updating on QAWolf that we were looking at the other day, if that is what you were thinking.

I'm looking over a few different instances to see if I can see reproducible behavior.

getvictor commented 4 months ago

Issue reproduced in dogfood: https://www.loom.com/share/53b54072c7614e8eb4653ae33fcbf917?sid=1b0e4d52-cc14-4b1e-b50d-01a67a403b5e

valentinpezon-primo commented 4 months ago

@getvictor

Looks like the issue we have yeah !

If you move your host to a new fresh team where there is no software uploaded in the "software" tab, you should see a empty list aswell

sharon-fdm commented 3 months ago

@xpkoala This will require a load test. @getvictor please add details.

getvictor commented 3 months ago

@xpkoala I added a QA Testplan section to the issue description.

fleet-release commented 3 months ago

Software now displayed, On all teams, host details gleam, Fleet in harmony.