Bug 1601248 - Create a volume backup does not trigger a Target Refresh
Summary: Create 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: Unspecified
OS: Unspecified
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-15 14:12 UTC by Ido Ovadia
Modified: 2018-07-23 15:50 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 15:50:51 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ido Ovadia 2018-07-15 14:12:52 UTC
Description of problem:
=======================
Create 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. Browse: Storage --> Block Storage --> Volumes
3. Click on cloud volume 
4. Click Configuration --> Create a Backup of this Cloud Volume

Actual results:
===============
Target Refresh of storage manager Cinder does not triggers 
Therefor volume backup displayed only after manual refresh    

Expected results:
=================
Target Refresh of storage manager Cinder triggers and volume backup should update 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.create.end]

-On Timelines:
Storage --> Block Storage --> Managers --> Timelines

Comment 1 Sam Lucidi 2018-07-23 15:50:51 UTC
Unlike volumes and snapshots, backup creation events don't seem to contain the ID of the backup object that was created. Without that ID, targeted refresh cannot work for backups.

backup.create.end {:content=>{"message_id"=>"6c3a7da1-2649-4dc4-84de-70b8246560bb", "event_type"=>"backup.create.end", "timestamp"=>"2018-07-23T15:08:24.044529", "payload"=>{"project_id"=>"23a680290f7b4dcab0e1b6e5ef8c55d9", "request_id"=>"req-0f636425-8b1c-4186-9d2a-22486280c5b1", "service"=>"backup.hostgroup", "tenant_id"=>"23a680290f7b4dcab0e1b6e5ef8c55d9", "user_id"=>"51143c26c612453eabdc4dfe88851e82"}}, :context=>{}, :user_id=>nil, :priority=>nil, :content_type=>nil}


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