Bug 1418247

Summary: UI showing active geo-rep session, when the session was already removed from CLI
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: BLL.GlusterAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: high    
Version: 4.1.0CC: bugs, rnachimu, sabose
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
sabose: devel_ack+
sasundar: testing_ack+
Target Release: 4.1.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:39:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277939    
Attachments:
Description Flags
Engine log containing the errors none

Description SATHEESARAN 2017-02-01 11:28:31 UTC
Description of problem:
-----------------------
The gluster data domain is set with remote data sync with the slave gluster volume. When the session is deleted from the backend via gluster CLI, the UI still shows up that the session is active.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
oVirt Engine Version: 4.1.0.3-0.0

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create a gluster data domain with gluster volume managed with the same cluster and remote data sync set
2. Delete the geo-rep session from gluster CLI ( from backend )
3. Look for the geo-rep status from RHV UI's volume tab

Actual results:
---------------
Volume tab in RHV UI still shows up the geo-rep session as active

Expected results:
-----------------
Geo-rep session status from RHV UI should get removed, as the geo-rep session was already delete from backend

Comment 1 SATHEESARAN 2017-02-01 11:29:44 UTC
Created attachment 1246612 [details]
Engine log containing the errors

Comment 2 SATHEESARAN 2017-04-05 10:42:16 UTC
Tested with RHV 4.1.1-6

When the estabilished geo-rep session is deleted from the gluster cli, the RHV UI syncs that information after sometime and removes the geo-rep session as shown in the RHV UI