Bug 1364381

Summary: Requested value is always shown as zero in quota exceed messages.
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: ProvisioningAssignee: Bronagh Sorota <bsorota>
Status: CLOSED CURRENTRELEASE QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: bsorota, cpelland, gmccullo, jhardy, mkanoor, obarenbo, simaishi, tfitzger, wfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: scvmm
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376525 1382772 (view as bug list) Environment:
Last Closed: 2017-06-12 16:29:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1376525, 1382772    
Attachments:
Description Flags
msg
none
orchestration service msg none

Description Aziza Karol 2016-08-05 08:51:56 UTC
Created attachment 1187797 [details]
msg

Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1.Add scvmm provider
2.Enforce the tenant quota
2.Provision a VM requesting a higher quota then the enforced quota
3.

Actual results:
Requested value is always shown as zero in the last message. see attached screenshot 
I had requested 16 CPU, but 0 is displayed.

Expected results:
Requested value should be displayed.

Additional info:

Comment 2 Aziza Karol 2016-08-05 08:54:38 UTC
Also when provisioning a orchestration service,all the requested values are shown as 0. see attached screenshot.

Comment 3 Aziza Karol 2016-08-05 08:56:02 UTC
Created attachment 1187798 [details]
orchestration service msg

Comment 5 Bronagh Sorota 2016-09-15 14:30:13 UTC
https://github.com/ManageIQ/manageiq/pull/11257

Comment 7 Bronagh Sorota 2016-09-19 15:26:40 UTC
This needs more investigation, therefore I am putting this back to ON_DEV.

Comment 10 CFME Bot 2016-09-26 20:51:24 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9c629faf7f90496805183f8e7c14b912c9321d02

commit 9c629faf7f90496805183f8e7c14b912c9321d02
Author:     Bronagh Sorota <bsorota>
AuthorDate: Thu Sep 22 13:10:03 2016 -0400
Commit:     Bronagh Sorota <bsorota>
CommitDate: Thu Sep 22 14:21:21 2016 -0400

    Rename number_of_cpus to number_of_sockets
    so quota checking will work.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1364381

 .../manageiq/providers/microsoft/infra_manager/provision/cloning.rb | 2 +-
 .../miq_dialogs/miq_provision_microsoft_dialogs_template.yaml       | 2 +-
 .../manageiq/providers/microsoft/infra_manager/provision_spec.rb    | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

Comment 13 Aziza Karol 2017-03-16 06:40:28 UTC
Correct count is displayed in Requested value of quota exceed messages.

Verified:5.8.0.4.20170307183144_745a3d9