Bug 1378154

Summary: Optimize -> Planning with usage data does not work
Product: Red Hat CloudForms Management Engine Reporter: Wolfram Richter <wrichter>
Component: ReportingAssignee: Šimon Lukašík <slukasik>
Status: CLOSED CURRENTRELEASE QA Contact: Oleksii Tsuman <otsuman>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cbolz, cpelland, dajohnso, jhardy, nachandr, obarenbo, slukasik
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: optimize:report
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1392967 (view as bug list) Environment:
Last Closed: 2017-06-12 16:59:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1392967    
Attachments:
Description Flags
Screenshot showing the problem none

Description Wolfram Richter 2016-09-21 15:49:27 UTC
Created attachment 1203377 [details]
Screenshot showing the problem

Description of problem:
CFME Planning feature does not work when selecting VM "Usage" as basis, only for "Allocation"


Version-Release number of selected component (if applicable):
CFME 5.6.1 + RHEV 3.6.8 + OSP9

How reproducible:
100%

Steps to Reproduce:
1. Go to Optimize -> Planning, select "All VMs" and a VM running.
2. Choose "Usage" instead of "Allocation": 
 You can see that the values do not change
3. When hitting "Submit", the resulting dialog is still built for "Allocation"

Actual results:
Planning Scenario for "Allocation"

Expected results:
Plannign Scenario for "Usage"

Additional info:
The problem may be related to various bugzillas that describe the inability to collect or display CPU data:
https://bugzilla.redhat.com/show_bug.cgi?id=1364195
https://bugzilla.redhat.com/show_bug.cgi?id=1364584
https://bugzilla.redhat.com/show_bug.cgi?id=1373460

We can provide access to an environment where this can be reproduced within the Red Hat VPN

Comment 2 Dave Johnson 2016-09-22 22:49:23 UTC
Nandini, can you reproduce this and isolate it to a provider?

Comment 4 Šimon Lukašík 2016-11-07 12:46:01 UTC
https://github.com/ManageIQ/manageiq/pull/12468

Comment 5 CFME Bot 2016-11-07 23:11:04 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/de1ddea28cb09c26c412eaa1a6e17870095a2b91

commit de1ddea28cb09c26c412eaa1a6e17870095a2b91
Author:     Keenan Brock <keenan>
AuthorDate: Mon Nov 7 13:46:06 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Nov 7 18:07:11 2016 -0500

    Merge pull request #12468 from isimluk/fetch_and_fetch_path
    
    Don't use fetch, when you wish to fetch_path
    (cherry picked from commit e6692639505e61107cf062b08c7c64b5c620383a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378154

 app/models/vim_performance_analysis.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Nandini Chandra 2017-04-20 22:12:40 UTC
Verified in 5.8.0.11

Comment 8 Nandini Chandra 2018-03-01 14:48:07 UTC
Assigning to otsuman for acking/nacking test_qe_coverage flag.