nerc-project / coldfront-plugin-cloud

ColdFront plugin to manage resource allocations on OpenStack and OpenShift
GNU General Public License v3.0
4 stars 10 forks source link

When the Allocation Swift Storage Quota Attribute i.e. "OpenStack Swift Quota in Gigabytes" set to 0 provides unlimited quota to the user. #147

Closed Milstein closed 6 months ago

Milstein commented 8 months ago
knikolla commented 8 months ago

The solution here involves:

I asked @Milstein to manually set the RGW quota to 1 byte (not 1 gigabyte) and verify that it produces the desired outcome (inability to use object storage.)

knikolla commented 8 months ago

@Milstein tested that setting the quota to 1 byte prevents people from upload files larger than 1 byte.

Until the code is in place and deployed setting the ColdFront quota to zero and then manually setting the RGW quota to 1 byte using the command line will prevent people from being billed for storage.

joachimweyl commented 8 months ago

@Milstein is @knikolla's suggestion enough to close this and unblock https://github.com/nerc-project/operations/issues/304 ?

joachimweyl commented 6 months ago

@Milstein checking if this issue is ready to close.