Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3364

Improve troubleshooting when hosts didn't match any products

XMLWordPrintable

      Related to https://redhat-internal.slack.com/archives/C01F7QFNATC/p1741261802750109.

      The problem in SWATCH-3230 was that the host had the conversion flag enabled "conversions.activity: true" and using the product ID "479" which is not supported by SWATCH.

      At the moment, the only product ID supported when this conversion flag is enabled is 204.

      However, it was hard to determine the reason why this host was not contributing to SWATCH. So, we need to improve this situation to make easier in the future troubleshooting these scenarios.

      Acceptance Criteria

      Do the following only when the host has product IDs coming from HBI, we have configured any of these coming product IDs in SWATCH, and yet no product tag was matched.

      • Add a log saying "No products matched for the host X", give it a dedicated error code. Log at the WARN level.

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: