Uploaded image for project: 'Operator Runtime'
  1. Operator Runtime
  2. OPRUN-4418

Evaluate and implement pre-upgrade risk warning for Marketplace subscriptions (4.21 → 4.22)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • Vaporeon Sprint 282, Weedle Sprint 283

      We want to evaluate (and implement if feasible) a pre-upgrade risk warning for clusters upgrading from OCP 4.21 to 4.22, to alert users who may still be consuming operators from the Marketplace catalog (removed in 4.22).

      Context / current limitation:

      • Ideal detection would use a Subscription metric label for the subscribed catalog (catalogName), but catalogName is not included in the subscription_sync_total metric.
      • Alternative approach is to infer Marketplace usage via the package label and known Marketplace package naming patterns.

      Proposed approach (if feasible):

      • Add a Cincinnati conditional risk (similar to prior blocked-edges/conditional-risk rules) based on PromQL matching the package label.
      • Candidate PromQL:

       
       
      count(last_over_time(subscription_sync_total{package=~"stackgres|flux|.*-rhmp"}[10m])) > bool 0 or vector(0)
      Risk / accuracy notes:

      • .*-rhmp is likely high-confidence for Marketplace, but it is not a hard requirement.
      • flux (and potentially stackgres) may overlap with other catalogs, so this can produce false positives.
      • Recommended mitigation: split into two rules/messages:
        • High-confidence rule for .*-rhmp
        • Lower-confidence rule for flux (and optionally stackgres) with wording that it may not be Marketplace-specific

       

      References:

       

              rh-ee-cmacedo Camila Macedo
              rh-ee-cmacedo Camila Macedo
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: