nerc-project / operations

Issues related to the operation of the NERC OpenShift environment
1 stars 0 forks source link

Update NERC Documentation (MB/GB/TB -> MiB/GiB/TiB) #587

Closed joachimweyl closed 1 week ago

joachimweyl commented 1 month ago

Motivation

currently we are displaying MB/GB/TB when technically we are using MiB/GiB/TiB.

Completion Criteria

Update customer facing documents to display what we are actually using.

Description

Completion dates

Desired - 2024-05-29 Required - TBD

knikolla commented 1 month ago

For storage, we are charging based on quota.

For object storage, we are setting the quota[0] per GB.

For volume storage, we are setting the quota on GiB for both OpenStack[1](as that is the only unit accepted) and OpenShift[2].

When it comes to charging, the advertised price in the docs is written per TB. Until now, I have been dividing that price of $0.009 by 1000 to come up for the per GB value.

That means that for object storage we are charging per TB of storage with the advertised price of $0.009/TB, whereas for volume storage we are charging $0.009/1000GiB.

We should update the documentation and investigate a path to consistency.

  1. https://github.com/nerc-project/coldfront-plugin-cloud/blob/ae311f876143a78ad822f6398ad37b134283279f/src/coldfront_plugin_cloud/openstack.py#L22
  2. https://docs.openstack.org/api-ref/block-storage/v3/#show-quota-classes-for-a-project
  3. https://github.com/nerc-project/coldfront-plugin-cloud/blob/ae311f876143a78ad822f6398ad37b134283279f/src/coldfront_plugin_cloud/openshift.py#L15-L16
knikolla commented 1 month ago

@joachimweyl @Milstein Let me know if I captured correctly the outcome of May 22, 2024 meeting

Milstein commented 1 month ago

@knikolla @joachimweyl: Can we confirm this statement is correct in our nerc docs:

Storage is charged separately at a rate of $0.009 TiB/hr or $9.00E-12 KiB/hr at a granularity of KiB/hr. For ease of reporting, storage SUs are shown in GiB but calculated in KiB.

knikolla commented 1 month ago

@knikolla @joachimweyl: Can we confirm this statement is correct in our nerc docs:

Storage is charged separately at a rate of $0.009 TiB/hr or $9.00E-12 KiB/hr at a granularity of KiB/hr. For ease of reporting, storage SUs are shown in GiB but calculated in KiB.

joachimweyl commented 1 month ago

documents updated, waiting on some screenshots. the PR will automatically close this issue.

joachimweyl commented 1 month ago

@Milstein can I be of assistance in gathering any of the parts you need?

Milstein commented 2 weeks ago

Upcoming NERC's RegApp & ColdFront service upgrade and maintenance [June 18, 2024 9:00 AM - 11:00 AM ET]) will include most of these changes except the screenshots update for the nerc docs.

joachimweyl commented 2 weeks ago

@Milstein let's close this out on Tuesday once the documents are live and create a new issue to track adding the screenshots.