Description of problem: ----------------------- New data domain is created by using the gluster volume managed in the cluster. The gluster volume doesn't had geo-replication setup. When clicking on the sub-tab, "Remote Data Sync Setup" after selecting the storage domain, there is no helpful message to explain that there are no geo-rep setup available. 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 cluster with virt + gluster capability enabled 2. Add 3 nodes and create a replica 3 volume, optimize for virt store 3. Now create a new gluster data domain and select 'use managed gluster volume' which will the list the gluster volumes managed in that cluster 4. Choose a gluster volume from the dropdown list 5. Complete creation of data domain 6. Select the gluster storage domain and select the sub tab 'Remote Data Sync Setup' Actual results: --------------- There is no useful message to explain the user that there is no geo-rep setup exists on the volume Expected results: ----------------- If there are no geo-replication sessions created, instead of the drop down, an alert should be shown that geo-replication session needs to be setup. A link should be provided for user to navigate to Create Geo-replication Session. Also there should be hint that if the geo-replication remote volume is not managed in that cluster, then hint the user to create geo-rep session from command line interface
Created attachment 1245816 [details] screenshot showing the 'Remote Data Sync Setup' tab
Created attachment 1245817 [details] Remote Data Sync Setup dialog
Tested with RHV 4.1.1-6 and useful error messages is shown, when the associated glusterfs storage domain doesn't have the geo-replication session Error message is thrown as follows : <snip> There are no geo-replication sessions configured for this gluster volume. Before setting up the remote data synchronization schedule for storage domain, please create a geo-replication session for gluster volume associated with this storage domain. </snip>