Bug 1390827

Summary: Drift analysis fails with error: At least 2 Analyses must be selected for Drift
Product: Red Hat CloudForms Management Engine Reporter: Morgan Weetman <mweetman>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED WONTFIX QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, hkataria, jhardy, mweetman, nansari, obarenbo, yrudman
Target Milestone: GA   
Target Release: 5.7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: vm:drift:ui:error
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-03 14:44:52 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:
Attachments:
Description Flags
Screenshot of error message none

Description Morgan Weetman 2016-11-02 03:22:21 UTC
Created attachment 1216333 [details]
Screenshot of error message

Description of problem:
When there are only 2 analyses available for a virtual machine, Drift analysis fails with "At least 2 Analyses must be selected for Drift".
When there are 3 or more analyses available Drift analysis works as expected.

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

How reproducible:
Analyse a vm twice

Steps to Reproduce:
- run analysis of the CloudForms vm
- delete a test user account
- run analysis of the CloudForms vm
- navigate to vm details and click Drift History
- select both analyses then click the Drift Analysis button

Actual results:
Error msg: "At least 2 Analyses must be selected for Drift"

Expected results:
Drift screen should appear

Additional info:

Comment 16 Harpreet Kataria 2017-01-25 14:42:47 UTC
Niyaz,

We are unable to recreate this issue on locally, do you have an environment where this can be recreated. I think this issue might have already been fixed with some of the other toolbar related fixes.

Let me know what you find.

Thanks,
~Harpreet

Comment 17 Niyaz Akhtar Ansari 2017-01-30 15:45:30 UTC
Harpreet,

I tried to reproduce this issue and drift analysis works fine for me. I don't have any specific environment for this issue. I think this bug can be closed.

Thanks,
~Niyaz