Skip to content

Instantly share code, notes, and snippets.

@myersCody
Last active March 19, 2024 17:15
Show Gist options
  • Save myersCody/74a7317b43e85fb571375438402ecacd to your computer and use it in GitHub Desktop.
Save myersCody/74a7317b43e85fb571375438402ecacd to your computer and use it in GitHub Desktop.

What's Changed

Our team discovered a bug regarding Openshift Container Platform (OCP) Integrations. We have been reporting our storage and memory costs as Gigabytes (GB), when the values represented Gibibytes (GiB). These units have now been fixed. After an internal investigation of our other cloud providers and units, we have decided to convert storage cost for Google Cloud Platform Integrations to (GB) to match the other cloud providers.

Details

The GCP storage usage amount will now be multiplied by the conversion rate (1.073741824) and the units have been updated to GB.

GiB Units GB Units
GiB-Mo GB-Mo
GiB GB
GiB-Hours GB-Hours

Impacted Endpoints:

  1. /api/cost-management/v1/reports/gcp/storage/
  2. /api/cost-management/v1/reports/openshift/infrastructures/gcp/storage/

OCP storage units now correctly represent GiB:

  1. /api/cost-management/v1/reports/openshift/volumes/
  2. /api/cost-management/v1/reports/openshift/memory/

Change History

Full Changelog: https://github.com/project-koku/koku/compare/r.2024.03.05.0...r.2024.03.14.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment