Bug 1619154

Summary: [RFE] allow to create vm from blank template when datacenter is enforcing quota
Product: Red Hat Enterprise Virtualization Manager Reporter: Marian Jankular <mjankula>
Component: ovirt-web-uiAssignee: biakymet
Status: CLOSED ERRATA QA Contact: Lucie Leistnerova <lleistne>
Severity: high Docs Contact:
Priority: medium    
Version: 4.2.5CC: biakymet, gshereme, lleistne, lsurette, lsvaty, mgoldboi, michal.skrivanek, mtessun, obockows, rdlugyhe, Rhev-m-bugs, srevivo, tburke
Target Milestone: ovirt-4.3.0Keywords: FutureFeature, ZStream
Target Release: ---Flags: lsvaty: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_rc Doc Type: Bug Fix
Doc Text:
Previously, while a datacenter was enforcing a quota, using the VM Portal to create a virtual machine from a blank template generated an error. The current release fixes this issue.
Story Points: ---
Clone Of:
: 1663632 (view as bug list) Environment:
Last Closed: 2019-05-08 12:35:10 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:    
Bug Blocks: 1663632    

Description Marian Jankular 2018-08-20 08:29:19 UTC
Description of problem:
RFE: allow to create vm from blank template when datacenter is enforcing quota

Version-Release number of selected component (if applicable):
rhv 4.2.+

How reproducible:
everytime

Steps to Reproduce:
1. make sure dc is enforcing quota
2. try to create vm in vm portal with user with enough permission from blank template


Actual results:
vm creation will fail with error below:

ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-5) [] Operation Failed: [Cannot add VM. The user is not a consumer of the Quota assigned to the resource.]

Expected results:
vm will be created

Additional info:
could we do something also with fact, that once you are enforcing more than 1 quota, you have to have template for each quota?

Comment 1 Michal Skrivanek 2018-08-21 05:25:07 UTC
Quota is rarely used, it’s a pending gap in functionality

Comment 10 Lucie Leistnerova 2019-01-21 15:14:16 UTC
Non admin user is consumer on quota (also tested on other than Default) and can create VM from blank template.

verified in ovirt-web-ui-1.5.0-1.el7ev.noarch with ovirt-engine-4.3.0-0.8.rc2.el7.noarch

Comment 12 Rolfe Dlugy-Hegwer 2019-04-10 01:09:54 UTC
Drafted some Doc Text. Please review.

Comment 14 errata-xmlrpc 2019-05-08 12:35:10 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://access.redhat.com/errata/RHBA-2019:1068

Comment 17 Red Hat Bugzilla 2023-09-14 04:33:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days