Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-41508

Address incorrect reporterId causing inventory db misses

XMLWordPrintable

      Resources aren't found in the inventory DB because it's using what appears to be a user-agent header as a reporterId. See logs:
      2025/07/29 20:57:25 /workspace/internal/data/localtoinventoryidrepository.go:12 record not found
      [0.418ms] [rows:0] SELECT "resource_id" FROM "local_inventory_to_resources" WHERE local_resource_id = '019857ae-02e6-70f2-9e11-6711cc1e7d29' AND reporter_id = 'grpc-python/1.73.0 grpc-c/48.0.0 (linux; chttp2)' AND resource_type = 'workspace' ORDER BY "local_inventory_to_resources"."resource_id" LIMIT 1

              rh-ee-aobrien Adam OBrien
              wscalf@redhat.com William Scalf
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: