Bug 1663632 - [downstream clone - 4.2.8] [RFE] allow to create vm from blank template when datacenter is enforcing quota
Summary: [downstream clone - 4.2.8] [RFE] allow to create vm from blank template when ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-web-ui
Version: 4.2.5
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.2.8
: ---
Assignee: biakymet
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On: 1619154
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-05 18:50 UTC by RHV bug bot
Modified: 2019-06-19 06:11 UTC (History)
1 user (show)

Fixed In Version: ovirt-engine-4.2.8.2
Doc Type: Enhancement
Doc Text:
Clone Of: 1619154
Environment:
Last Closed: 2019-01-22 12:45:56 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-web-ui issues 744 0 None None None 2019-01-05 18:50:26 UTC
Red Hat Product Errata RHBA-2019:0128 0 None None None 2019-01-22 12:46:00 UTC
oVirt gerrit 94953 0 master MERGED engine: Allow to create VM through RestAPI without specified quota 2019-01-05 18:50:26 UTC
oVirt gerrit 95986 0 ovirt-engine-4.2 MERGED engine: Allow to create VM through RestAPI without specified quota 2019-01-05 18:50:26 UTC

Description RHV bug bot 2019-01-05 18:50:02 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1619154 +++
======================================================================

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?

(Originally by Marian Jankular)

Comment 1 RHV bug bot 2019-01-05 18:50:04 UTC
Quota is rarely used, it’s a pending gap in functionality

(Originally by michal.skrivanek)

Comment 13 Lucie Leistnerova 2019-01-10 15:05:01 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.4.5-1.el7ev.noarch with ovirt-engine-4.2.8.2-0.1.el7ev.noarch

Comment 15 errata-xmlrpc 2019-01-22 12:45:56 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:0128


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