Bug 1619154 - [RFE] allow to create vm from blank template when datacenter is enforcing quota
Summary: [RFE] allow to create vm from blank template when datacenter is enforcing quota
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.3.0
: ---
Assignee: biakymet
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1663632
TreeView+ depends on / blocked
 
Reported: 2018-08-20 08:29 UTC by Marian Jankular
Modified: 2023-09-14 04:33 UTC (History)
13 users (show)

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.
Clone Of:
: 1663632 (view as bug list)
Environment:
Last Closed: 2019-05-08 12:35:10 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-web-ui issues 744 0 None closed allow creating vm from blank template when datacenter is enforcing quota 2021-02-04 07:11:46 UTC
Red Hat Product Errata RHBA-2019:1068 0 None None None 2019-05-08 12:35:16 UTC
oVirt gerrit 94953 0 master MERGED engine: Allow to create VM through RestAPI without specified quota 2021-02-04 07:11:51 UTC
oVirt gerrit 95986 0 ovirt-engine-4.2 MERGED engine: Allow to create VM through RestAPI without specified quota 2021-02-04 07:11:51 UTC

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


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