Bug 1245931 - Arbitrary default quota on new disk and existing disks
Summary: Arbitrary default quota on new disk and existing disks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-23 07:05 UTC by Dudi Maroshi
Modified: 2016-02-10 20:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-11 11:39:53 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dudi Maroshi 2015-07-23 07:05:34 UTC
Description of problem:
When quota is enabled in data center.
We need to assign a default quota to all existing disks.
We need to assign a default quota to all new disks.
Currently the default is an arbitrary quota selection.


Version-Release number of selected component (if applicable):
RHEV 3.6

Steps to Reproduce:
1. Disable quota on data center
2. Create vm1 with disk vm1_disk1
3  Create vm2 with disk vm2_disk1
4. Enable quota on data center
5. Create quota named A-q
6. Create quota named b-q
7. Create quota named --q
8. Open disk vm2_disk1 for edit
9. Notice the selected quota for vm2_disk1
10. Create disk vm1_disk2 on vm1
11. Notice the default selected quota on vm1_disk2
12. Create quota named Z--
13. Create disk vm1_disk3 on vm1
14. Notice the default selected quota on vm1_disk3


Actual results:
Default quota for new disk is not consistent.

Expected results:
For new disks with quota.
  Empty mandatory quota field, or defined default.
For existing disks (prior to quota enablement)
  Assign a defined default quota to all existing disks.
  This is dangerous, if enabling/disabling quota few times. What will happen to existing disks' quota. Need a defined policy.

Comment 1 Doron Fediuck 2015-07-28 10:48:28 UTC
The concept of default quota was considered in the past and ruled out.
We should be capable of dealing with missing assignments in a gracious way
without the need to assign something where it is not needed.


Note You need to log in before you can comment on or make changes to this bug.