Bug 1378919 - Not possible to set RAM option for an alert
Summary: Not possible to set RAM option for an alert
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: All
OS: All
medium
low
Target Milestone: GA
: 5.8.0
Assignee: Jozef Zigmund
QA Contact: Dmitry Misharov
URL:
Whiteboard: ui:alert
Depends On:
Blocks: 1393584
TreeView+ depends on / blocked
 
Reported: 2016-09-23 13:59 UTC by Dmitry Misharov
Modified: 2017-06-12 16:05 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Dmitry Misharov 2016-09-23 13:59:42 UTC
Description of problem:
It's not possible to configure an alert to evaluate increasing or decreasing RAM amount.

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Control->Explorer.
2. Expand Alerts accordion.
3. Create an alert.
4. In "What to Evaluate" field choose "Hardware Reconfigured"
5. Check "Show on Timeline"
6. In "Hardware Attribute" choose RAM.
7. Save the alert.

Actual results:
After saving "Hardware Attribute" is changed to "Number of CPU Cores" and it's impossible to set that field to "RAM"

Expected results:
"RAM" option should be possible to set.

Comment 3 CFME Bot 2016-10-29 17:06:11 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f1ae64c34849886aa7f368a97fd3728f9544f2cf

commit f1ae64c34849886aa7f368a97fd3728f9544f2cf
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Fri Oct 21 16:00:35 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Fri Oct 21 16:07:45 2016 +0200

    Fix the dropdown name for HW attribute
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378919

 app/views/miq_policy/_alert_builtin_exp.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 CFME Bot 2016-11-01 16:36:09 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/ea72426da1d149728dc1efba12d6a33e58937cef

commit ea72426da1d149728dc1efba12d6a33e58937cef
Author:     Martin Povolny <mpovolny>
AuthorDate: Sat Oct 29 19:03:18 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Nov 1 12:30:56 2016 -0400

    Merge pull request #12098 from jzigmund/bz1378919-ram_alert
    
    Fix the dropdown name for HW attribute
    (cherry picked from commit 8d83be37cad3a9f45e476438dafba802b7d16b48)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378919

 app/views/miq_policy/_alert_builtin_exp.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Dmitry Misharov 2017-03-06 13:21:40 UTC
Verified in 5.8.0.3.20170301174324_1e2e0c4. Alerts with "RAM" hardware attribute is saved successfully.


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