Description of problem: When all the geo-rep sessions from a volume are deleted, status and status information shows "WARNING" with Geo replication status could not be determined .<Cli ouput>.Attached is the screenshot. Version-Release number of selected component (if applicable): nagios-server-addons-0.2.2-1.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. Set Up a geo-rep session and start it. 2. Now stop the geo-rep session and delete it. 3. Actual results: geo-replication volume status service shows status as WARNING with status information as "Geo Replication status could not be determined. <cliOuput> Expected results: verify that geo-replication volume status service shows status as **OK** with status information as **Session status :No active sessions found** Additional info:
Created attachment 1071322 [details] screenshot for status and status infromation when all the geo-rep sessions are deleted
http://review.gluster.org/#/c/12441/ - posted to handle case when no sessions are present.
Created attachment 1096692 [details] geo-rep status screen shot
This bug is verified with buil no 67: Steps followed: 1. created geo-rep session between master and slave vols. 2. Started the session. 3. checked the status 4. Stopped the geo-rep session. 5. Deleted the geo-rep session. 6. On UI found that status of the session shows as no active sessions found which is expected. Attached the screen shot.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0310.html