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

Virtual Machine Agent produces empty reports if zombie processes are running

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.9.0
    • ACS Virt Support
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      USER PROBLEM

      When zombie processes are present in the system, roxagent produces index reports without a packages section. Steps to reproduce:

      // Create a zombie process
      $ (sleep 0 & exec /bin/sleep 60) & // Zombie will exist for 60 seconds
      
      // Run roxagent to generate an index report (--verbose to see its contents), note how it does not contain any package:
      $ sudo ./roxagent --verbose
      {
        "vsockCid": "3150315441",
        "indexV4": {
          "state": "IndexFinished",
          "success": true,
          "contents": {
            "repositoriesDEPRECATED": [
              {
                "id": "2",
                "name": "rhel-9-for-x86_64-baseos-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:o:redhat:enterprise_linux:9:*:baseos:*:*:*:*:*"
              },
              {
                "id": "0",
                "name": "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:el9:*:*:*:*:*"
              },
              {
                "id": "1",
                "name": "rhel-9-for-x86_64-appstream-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:a:redhat:enterprise_linux:9:*:appstream:*:*:*:*:*"
              }
            ],
            "repositories": {
              "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms": {
                "id": "0",
                "name": "ansible-automation-platform-2.3-for-rhel-9-x86_64-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:el9:*:*:*:*:*"
              },
              "rhel-9-for-x86_64-appstream-rpms": {
                "id": "1",
                "name": "rhel-9-for-x86_64-appstream-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:a:redhat:enterprise_linux:9:*:appstream:*:*:*:*:*"
              },
              "rhel-9-for-x86_64-baseos-rpms": {
                "id": "2",
                "name": "rhel-9-for-x86_64-baseos-rpms",
                "key": "rhel-cpe-repository",
                "cpe": "cpe:2.3:o:redhat:enterprise_linux:9:*:baseos:*:*:*:*:*"
              }
            }
          }
        }
      }

       

      CONDITIONS

      This happens when zombie processes are present in the system, which in turn is a common situation that can happen in a multitude of scenarios.

      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: