Bug 1449235

Summary: [RFE] Trigger a refresh when adding/editing/deleting anything in CFME Block Storage(EBS)
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bascar, bsorota, cpelland, dajohnso, jfrey, jhardy, kmorey, obarenbo
Target Milestone: GAKeywords: FutureFeature, RFE, TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ec2:storage
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1468275 (view as bug list) Environment:
Last Closed: 2018-03-06 15:48:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1468275    

Description Matouš Mojžíš 2017-05-09 13:10:32 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1.Add an ec2 provider
2.Change, edit or delete volume or snapshot
3.

Actual results:
I can't see the changes in CFME.

Expected results:
Autorefresh should be triggered.

Additional info:

Comment 2 Matouš Mojžíš 2017-05-09 15:33:27 UTC
Also for attaching/detaching is autorefresh not triggered.

Comment 4 Daniel Berger 2017-06-23 20:53:04 UTC
Partially implemented here: https://github.com/ManageIQ/manageiq-providers-amazon/pull/263

Comment 5 Bronagh Sorota 2017-07-03 16:06:14 UTC
For the record, the above PR ( https://github.com/ManageIQ/manageiq-providers-amazon/pull/263) was closed because EBS volume and snapshot events are sent via cloudwatch which is already supported.

Comment 8 CFME Bot 2017-07-03 18:43:26 UTC
New commit detected on ManageIQ/manageiq-content/master:
https://github.com/ManageIQ/manageiq-content/commit/c3484255bfe6b467dc0d98ae5924186c625c1808

commit c3484255bfe6b467dc0d98ae5924186c625c1808
Author:     Bronagh Sorota <bsorota>
AuthorDate: Mon Jul 3 13:41:56 2017 -0400
Commit:     Bronagh Sorota <bsorota>
CommitDate: Mon Jul 3 13:41:56 2017 -0400

    Event switchboard entries for Amazon EBS events.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1449235

 .../System/Event/EmsEvent/Amazon.class/attachvolume.yaml     | 12 ++++++++++++
 .../System/Event/EmsEvent/Amazon.class/copysnapshot.yaml     | 12 ++++++++++++
 .../System/Event/EmsEvent/Amazon.class/createsnapshot.yaml   | 12 ++++++++++++
 .../System/Event/EmsEvent/Amazon.class/createvolume.yaml     | 12 ++++++++++++
 .../System/Event/EmsEvent/Amazon.class/deletesnapshot.yaml   | 12 ++++++++++++
 .../System/Event/EmsEvent/Amazon.class/deletevolume.yaml     | 12 ++++++++++++
 6 files changed, 72 insertions(+)
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/attachvolume.yaml
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/copysnapshot.yaml
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/createsnapshot.yaml
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/createvolume.yaml
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/deletesnapshot.yaml
 create mode 100644 content/automate/ManageIQ/System/Event/EmsEvent/Amazon.class/deletevolume.yaml

Comment 10 Matouš Mojžíš 2018-01-25 17:22:53 UTC
Verified in 5.9.0.17. Targeted refresh works perfectly for these actions.