Bug 1364381 - Requested value is always shown as zero in quota exceed messages.
Summary: Requested value is always shown as zero in quota exceed messages.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Bronagh Sorota
QA Contact: Aziza Karol
URL:
Whiteboard: scvmm
Depends On:
Blocks: 1376525 1382772
TreeView+ depends on / blocked
 
Reported: 2016-08-05 08:51 UTC by Aziza Karol
Modified: 2017-06-12 16:29 UTC (History)
9 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1376525 1382772 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:29:43 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
msg (95.76 KB, image/png)
2016-08-05 08:51 UTC, Aziza Karol
no flags Details
orchestration service msg (89.65 KB, image/png)
2016-08-05 08:56 UTC, Aziza Karol
no flags Details

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


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