[BUG] User can update Resource Quotas to hit the limits, then migration will fail silently #3974
Labels
area/admission-mutating-webhook
Admission and Mutating webhooks
area/dashboard
Harvester/Rancher dashboard
area/ui
kind/bug
Issues that are defects reported by users or that we know have reached a real release
need-reprioritize
reproduce/always
Reproducible 100% of the time
require/doc
Improvements or additions to documentation
severity/3
Function working but has a major issue w/ workaround
Milestone
Describe the bug
vokoscreenNG-2023-05-25_20-09-35.mp4
To Reproduce
Steps to reproduce the behavior:
cpu:100
,memory:100
proj-a
with Resource Quotasns-1
under Projectproj-a
ns-1
vm1
withCPU: 1C
,Memory 1GiB
vm2
withCPU: 1C
,Memory 2GiB
ns-1
to set Memory Limit to3500
vm1
to another nodeExpected behavior
We might need to check current used quotas when user going to reduce it.
Environment:
Additional context
Discovered when testing #3124
The text was updated successfully, but these errors were encountered: