Bug 1206890
| Summary: | Enforced quota is not applied on existing disks. | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Amit Aviram <aaviram> |
| Component: | Frontend.WebAdmin | Assignee: | bugs <bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | --- | CC: | akrejcir, amureini, bugs, dfediuck, istein, lsurette, mavital, mgoldboi, rbalakri, rgolan, sbonazzo, srevivo, tnisan, ykaul |
| Target Milestone: | ovirt-4.2.0 | Keywords: | TestOnly |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
mgoldboi: planning_ack+ dfediuck: devel_ack+ mavital: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-20 11:28:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1297210 | ||
| Bug Blocks: | 1211555 | ||
|
Description
Amit Aviram
2015-03-29 10:51:37 UTC
Roy - any ETA on this? that should make it into the beta. Any progress there? Understand the problem. This is another symptom for lacking clear 'quota enabeling' policy. We need clear policy for the following: 1. When enabling quota, what to do with existing VM-disk(s) (GUI/REST). 2. After enabling quota, how to mandate the user to select a quota on new disk (GUI/REST). 3. Enabling quota and configuring some disks, disabling quota, enabling again. What is the current quota configuration? Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015. Please review this bug and if not a blocker, please postpone to a later release. All bugs not postponed on GA release will be automatically re-targeted to - 3.6.1 if severity >= high - 4.0 if severity < high Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. oVirt 3.6.0 has been released on November 4th, re-targeting to 3.6.1 since this bug has been marked as high severity ovirt 3.6.1 is GA. moving all open bugs to 3.6.2 ovirt 3.6.1 was GA'd, all open bugs should move to 3.6.2. Any update? (In reply to Allon Mureinik from comment #11) > Any update? ? We don't have a default quota and I am not sure I want to introduce it now. At any case this is the warning that you get when to enforce you're quota: " Moving Quota to Enforce Mode All the templates, virtual machines, and disks must be assigned into specific quota allocations otherwise will be unusable. Users should be added as quota consumers. Please consider using Audit mode until you define Quotas for the users. Are you sure you want to continue? " Amit, the audit mode (similar to selinux permissive) is there to help you design the quota to fit the datacenter prior to enforcing and that's the stage were you should tweak it to you're needs. If you went straight from none to enforce, then obviously this takes you by surprise. Can you retry the whole process this time using the audit mode along the way? Rgo- The message you are mentioning is prompted when the user makes the DC to enforce and no quota exists at all. If there is any quota, no message is shown, and no quota is assigned to any disks in the storage domain. also in audit mode there is no message that warns the user about it.. I am not necessarily suggesting to automatically add a default quota to every disk in the domain, but SOMETHING needs to happen here.. it can be a warning message or whatever, but just putting the DC in "enforce" mode when it does not actually enforce, or in "audit" mode when it doesn't alert anything about the existing disks shouldn't happen.. Does that makes sense to you? Just to clear the problem here, if the quota doesn't count the existing disks when setting it to enforce, then the storage usage can exceed the quota enforced upon it. For example, I have a 100GB domain, and a disk with 10GB on it. now I am setting a quota of 5GB on this domain and make the DC to enforce quota. This will work, when actually from the start the storage exceeded the quota.. In 4.1, we added the default unlimited quota (in Bug 1297210) and it is used for all disks and VMs that don't have another quota assigned. As a side effect, this bug should be fixed now. Verified on Verified on ovirt-engine-4.2.0-0.0.master.20171116212005.git61ffb5f.el7.centos.noarch This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |