[BUG]: Setting large quota in Role causes overflow #1368
Labels
area/csm-authorization
Issue pertains to the CSM Authorization module
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Setting a large quota in a CSMRole (e.g. 20000GB) shows the following output in the Role
Setting a lower quota (e.g. 10000GB) fixes this issue. This is likely due to an overflow when converting the GB value to KB, but will need further analysis to confirm.
Logs
message: 'validating role: csmrolerole-sample: validating role: powerflex storage:
098cb5833b0ce40f pool: SP01: rpc error: code = Unknown desc = validating powerflex
storage 098cb5833b0ce40f: quota must be a positive number'
reason: StorageNotConnected
status: "False"
type: NotAvailable
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Request a quota of 20,000 GB
Expected Behavior
Should accept this quota value, not cause overflow
CSM Driver(s)
N/A
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
N/A
Operating System
N/A
The text was updated successfully, but these errors were encountered: