Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 922748

Summary: [Admin Portal] Inherit quota from VM properties in Guide Me - Virtual Disk dialog
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engineAssignee: Andrej Krejcir <akrejcir>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: akrejcir, amarchuk, bsettle, dfediuck, eedri, gklein, lsurette, mavital, rbalakri, rgolan, Rhev-m-bugs, sherold, srevivo, ykaul
Target Milestone: ovirt-3.6.6Keywords: ZStream
Target Release: 3.6.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-25 12:07:59 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:

Description Jiri Belka 2013-03-18 12:29:40 UTC
Description of problem:
Inherit quota from VM properties in Guide Me - Virtual Disk dialog.

Example: you have two quotas - foo, bar. You create new VM, select quota 'foo', then in Guide Me dialog when you are adding virtual disk first available quota in the list is 'bar' (as it is sorted alphabetically). In this part of Guide Me, I suppose a user want to have same quota as his VM itself, doesn't he? So "inherit" quota name from the VM itself, this  means put quota name of the VM as first in the quota list for adding virtual disk (this means it won't be sorted alphabetically anymore but first will be VM quota, then other quotas sorted alphabetically if there exist any). It's little annoying to always click and select the quota.

Version-Release number of selected component (if applicable):
sf10.1

How reproducible:
100%

Steps to Reproduce:
1. have some quotas, minumum 2 (foo + bar)
2. create VM, select quota which not first in the quota list (foo)
3. in Guide Me / adding virtual disk check quota list
  
Actual results:
quota list in Guide Me/ add virtual disk is sorted alphabetically

Expected results:
quota list in Guide Me / add virtual disk should take into account that VM itself has some quota and put this quota name on the top in quota list, remaining quota should be sorted alphabetically.

Additional info:
save our user some annoying clicking

Comment 4 Jiri Belka 2016-05-05 08:59:49 UTC
ok, rhevm-webadmin-portal-3.6.6-0.1.el6.noarch

Comment 6 errata-xmlrpc 2016-05-25 12:07:59 UTC
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, 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://rhn.redhat.com/errata/RHBA-2016-1119.html