-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
BIZ-629 - ELS add on for concurrent (non-pay-as-you-go) RHEL offerings
-
-
Example Event from Cost management:
[ "7b26964e-4bda-45a9-b532-b4fc69c59ee3", "11481359", "2023-08-08T13:00:00Z", "{\"sla\": \"Premium\", \"role\": \"Red Hat Enterprise Linux Workstation\", \"usage\": \"Development/Test\", \"org_id\": \"o16780439\", \"event_id\": \"7b26964e-4bda-45a9-b532-b4fc69c59ee3\", \"timestamp\": \"2023-08-08T13:00:00Z\", \"event_type\": \"snapshot\", \"expiration\": \"2023-08-08T14:00:00Z\", \"instance_id\": \"i-99995555\", \"product_ids\": [\"479\"], \"event_source\": \"cost-management\", \"measurements\": [ {\"uom\": \"vCPUs\", \"value\": 2.0} ], \"service_type\": \"RHEL System\", \"hardware_type\": \"Cloud\", \"account_number\": \"ac11481359\", \"cloud_provider\": \"AWS\", \"billing_provider\": \"aws\", \"billing_account_id\": \"9999999999999\"}", "snapshot", "cost-management", "i-99995555", "16780439" ]
—
TODO:
- Create config file in swatch-product-configuration
- create file in swatch-product-configuration/RHEL
- overall identifier to use: rhel-for-x86-eus-payg
- tag name: rhel-for-x86-eus-payg
- eng id of interest: 479,70
Configuration file notes:
Product config rough draft:
--- platform: RHEL id: rhel-for-x86-eus-payg variants: - tag: RHEL Workstation engineeringIds: - 479 - 70 roles: - Red Hat Enterprise Linux Workstation productNames: - Placeholder # when external service creates a sku defaults: variant: rhel-for-x86-eus-payg sla: PREMIUM usage: PRODUCTION # we won't meter for a Development/Test config since that may not be sold serviceType: RHEL System contractEnabled: true (#test to see when they create aws listing) metrics: - id: vCPUs awsDimension: Placeholder # when external service sends an aws dimension
Done: With the new Product config it should now read the cost management events during hourly tally
Notes:
Product id: 70 should be included along with 479.
Associated card on cost: https://issues.redhat.com/browse/COST-4062
We need sku in the listing but, we can have this card with the placeholders. Add another card to configure sku later on. Check for the external card.