Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-32460

Virtual Machines UI view times out after 10 s

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      USER PROBLEM

      As part of ROX-31744 Scale testing I have been simulating clusters with thousands of VMs, and VMs with thousands of packages (not necessarily combined). I noticed the VM UI throws "There was an error loading results timeout of 10000ms exceeded" in some situations (see screenshot).

      In particular it seems to happen when a few VMs (since the number of VMs is limited to 20 through pagination) have many packages (I was using 2800 when I saw this problem). In the attached screenshot it can be seen how the query to v2/virtualmachines runs for 10 s and transfers 27 MB. I have ran the same query and got a 177 MB json document (attached here), which indeed contains only 20 VMs but each of them have plenty of CVEs (total: 92k CVEs).

      This may be challenging to reproduce, since the logic to run fake workloads is not checked in yet. One way is to check out master-base/gualvare/ROX-31977-vsock-loadgen-combined, adjust compliance/virtualmachines/loadgen/deploy/loadgen-config.yaml with a high number of packages (I saw this problem while testing with 2800) and run compliance/virtualmachines/loadgen/scripts/run-loadgen.sh.

      CONDITIONS
      User is running virtual machines with many packages installed.

      ROOT CAUSE
      What is the root cause of the bug?

      • pending

      FIX
      How was the bug fixed (this is more important if a workaround was implemented rather than an actual fix)?

      • pending

              Unassigned Unassigned
              rh-ee-gualvare Guzman Alvarez
              ACS Sensor & Ecosystem
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: