Bug 1601530 - Delete a volume backup does not trigger a Target Refresh
Summary: Delete a volume backup does not trigger a Target Refresh
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.10.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Sam Lucidi
QA Contact: Ido Ovadia
URL:
Whiteboard: openstack:storage
Depends On:
Blocks: 1532796
TreeView+ depends on / blocked
 
Reported: 2018-07-16 14:49 UTC by Ido Ovadia
Modified: 2018-07-23 18:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-23 18:00:42 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ido Ovadia 2018-07-16 14:49:54 UTC
Description of problem:
=======================
Delete a volume backup does not trigger a Target Refresh


Version-Release number of selected component:
=============================================
CFME 5.10.0.4

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Create a volume
2. Create a backup from the volume
2. Browse: Storage --> Block Storage --> Volume Backups
3. Select a volume backup
4. Click Configuration --> Delete selected Backups

Actual results:
===============
Target Refresh of storage manager Cinder does not triggers, 
Therefor volume deleted from the list only after manual refresh    

Expected results:
=================
Target Refresh of storage manager Cinder triggers and volume backup should delete about 1-2 Min.  

Additional info:
================
I verified the event does exists by the following ways:

-On Ceilometer:
ceilometer event-list -q "event_type=backup.create.end"

-On evm.log
INFO -- : MIQ(ManageIQ::Providers::Openstack::StorageManager::CinderManager::EventCatcher::Runner#queue_event) EMS [10.0.0.101] as [admin] Caught event [backup.delete.end]

Comment 1 Sam Lucidi 2018-07-23 18:00:42 UTC
Backup events don't seem to contain the ID of the backup object that was created. Without that ID, targeted refresh cannot work for backups.

Comment 2 Sam Lucidi 2018-07-23 18:01:59 UTC
"created" in the above comment https://bugzilla.redhat.com/show_bug.cgi?id=1601530#c1 should read as "deleted"


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