Bug 1822372
Summary: | Adding quota to group doesn't propagate to users | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Robert McSwain <rmcswain> |
Component: | ovirt-web-ui | Assignee: | Hilda Stastna <hstastna> |
Status: | CLOSED ERRATA | QA Contact: | Ivana Saranova <isaranov> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.9 | CC: | ahadas, akrejcir, gscott, lleistne, michal.skrivanek, mkalinin, nobody, pagranat, sgratch |
Target Milestone: | ovirt-4.4.3 | ||
Target Release: | 4.4.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhv-4.4.3-3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-24 13:09:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | UX | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1881958 | ||
Bug Blocks: |
Description
Robert McSwain
2020-04-08 20:36:54 UTC
In the VM portal, there is no way to set which quota a VM should consume. The quota is copied from the VM template and the Blank template uses the Default quota. Hello, I followed up with the customer and he confirmed the following: ~~~ I added "TestGroup" as a consumer of the default quota. It did let "testuser" create a VM when the quota is enforced. I still do not understand why when I assign "testuser" itself as a consumer of "TestQuota" that it behaves as expected and enforces that quota. Shouldn't it be broken in both cases if the VM creation is expecting to use the default quota? Does this mean we have to add each user individually to the quota for this to function? I'm not sure if multiple problems are at play here. ~~~ Any new updates or suggestions for the customer to try at this point? It looks like a bug in a special case: When a user creates a VM from the 'Blank' template using the API (or VM portal), one of the user's quotas is assigned to the VM. The bug is that only quotas with the user assigned as consumer are considered, groups are ignored. Creating a VM from 'Blank' template is a special case. When creating a VM from any other template, the VM will have the same quota assigned as the template has. Another problem with this special case is if the user is a consumer of multiple quotas, then there is no way to specify which quota will be assigned to the VM. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Low: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5179 |