-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
5
-
False
-
-
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.