Bug 1399538

Summary: unable to provision on a rhev environment that has been configured to enforce a quota
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: ProvidersAssignee: Moran Goldboim <mgoldboi>
Status: CLOSED WONTFIX QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: dajohnso, fdewaley, jfrey, jhardy, jprause, mfeifer, mgoldboi, mperina, obarenbo, simaishi
Target Milestone: GA   
Target Release: cfme-future   
Hardware: All   
OS: All   
Whiteboard: rhev:provision
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-14 11:38:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:

Description Felix Dewaleyne 2016-11-29 09:35:45 UTC
Description of problem:
When providing against a quota-enabled RHEV 3.6 environment in enforcing mode Cloudforms 4.1 is unable to start any provision due to quota id missing from the providing request

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

How reproducible:
all the time

Steps to Reproduce:
1.configure a RHEV 3.6 environment to enforce quota 
2. provision against the RHEV environment
3.

Actual results:
[----] E, [2016-11-27T01:34:36.667704 #3808:ee398c] ERROR -- : Q-task_id([miq_provision_2016000000000314]) <RHEVM> Ovirt::Service#parse_error_response Return from URL: <https://sample.rhevm.com/api/vms> Data:<?xml version="1.0" encoding
="UTF-8" standalone="yes"?>
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot add VM. Quota is not valid.]</detail>
</fault>


Expected results:
provision is sent with the correct parameters to RHEV

Additional info:
there is no note of support of rhev side quotas in the CF 4.1 support matrix (https://access.redhat.com/documentation/en/red-hat-cloudforms/4.1/paged/support-matrix/) - this may need to be changed into a feature request.

Comment 2 Greg Blomquist 2016-11-29 18:07:36 UTC
Oved, this looks like the RHEV quota is involved in the failure.

Comment 10 Marianne Feifer 2017-06-23 17:09:51 UTC
Hey, Felix.  Since the SF case was closed by customer, should this be closed as well?

Comment 17 Moran Goldboim 2018-05-14 11:38:31 UTC
Closing as won't fix, per previous discussions, due to the fact that the CloudForms user will act as a single user (per provider config), which will block the quota (per user) operation in RHV.