Bug 1824384

Summary: Adding MW00363 to account decreases capacity numbers
Product: Red Hat Hybrid Cloud Console (console.redhat.com) Reporter: Nikhil Kathole <nkathole>
Component: Subscription WatchAssignee: Rich Jerrido <rjerrido>
Status: CLOSED CURRENTRELEASE QA Contact: Nikhil Kathole <nkathole>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: rbernlei, sghai
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-29 12:42:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikhil Kathole 2020-04-16 05:00:17 UTC
Description of problem:

MW00363 - Red Hat OpenShift Container Platform with Runtimes, Premium, (64 Cores or 128 vCPUs)

Adding this SKU to account decreases the capacity. We tested this SKU on QA environment and adding 1 quantity of this SKU shows negative capacity by -8192.

[kahowell] As to why negative - this one I just figured out - we aren't currently handling SKUs that provide unlimited quantity properly (which candlepin represents as negative quantity) (thought we were, but not seeing code for it - doh!). So we should treat this as bug.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Add MW00363 to account
2. Sync capacity
3. See SWatch Subscription Threshold.

Actual results:

Decrease by -8192

Expected results:

Increase by 8192

Additional info:

Comment 4 Nikhil Kathole 2020-05-29 12:38:55 UTC
VERIFIED

Adding 1 quantity of MW00363 to account now increases capacity by openshift_cores_premium 8192.