Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Setting large quota in Role causes overflow #1368

Closed
KerryKovacevic opened this issue Jul 5, 2024 · 3 comments
Closed

[BUG]: Setting large quota in Role causes overflow #1368

KerryKovacevic opened this issue Jul 5, 2024 · 3 comments
Assignees
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

Comments

@KerryKovacevic
Copy link
Contributor

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

  • lastTransitionTime: "2024-06-28T12:08:27Z"
    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

@KerryKovacevic KerryKovacevic added type/bug Something isn't working. This is the default label associated with a bug issue. area/csm-authorization Issue pertains to the CSM Authorization module labels Jul 5, 2024
@KerryKovacevic KerryKovacevic added this to the v1.11.0 milestone Jul 5, 2024
@EvgenyUglov
Copy link

/sync

@hoppea2
Copy link
Collaborator

hoppea2 commented Jul 8, 2024

/sync

@csmbot
Copy link
Collaborator

csmbot commented Jul 8, 2024

link: 26077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

4 participants