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

Double subscriptions from contract and subscription message causes issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2024-06-12 - API
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False

      We create subscriptions twice one when we get a UMB subscription message and during contract creation. We should reconcile it to one contract. 
      This issue is similar to https://issues.redhat.com/browse/SWATCH-2482 but, it should cover for all marketplaces.
      Question: What should be the start date and end date?

      Example:

      Subscription UMB:

       "RH02985HR"    "18080803"    "14820807"    "1"    "2024-04-25T04:00:00Z"    "2024-05-25T03:59:59Z"    "test;test;test"    "14820964"    "aws"    "027933477046"
      

      Contract subscription record:

      "RH02985HR"    "18080803"    "14820807"    "1"    "2024-04-25T10:11:44.300086Z"    "2024-05-25T03:59:59.999Z"    "test;test;test"    "14820964"    "aws"    "027933477046" 

      The subscription sync doesn't sync subscription created by contract but, only does the sync for the first record.

       

      Outcome:

      • There should be only one subscription from subscription or contract
      • Subscription sync should update correctly
      • Capacity should show correctly.

              kflahert@redhat.com Kevin Flaherty
              karshah@redhat.com Kartik Shah
              Trayvon McKnight Trayvon McKnight
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: