Hello,
i am new to VDSM codebase.
There is one minor bug in gluster and they don't have any near plan to fix this. So i need to fix this in vdsm.
The bug is when i run command
[root@dhcp35-237 ~]# gluster v geo-replication status
No active geo-replication sessions
geo-replication command failed
[root@dhcp35-237 ~]#
So this engine is piling up with error. i need handle this in vdsm the code at this place
If i run the above command with xml then i will get
[root@dhcp35-237 ~]# gluster v geo-replication status --xml
geo-replication command failed
[root@dhcp35-237 ~]#
so i have to run one more command before executing this and check in exception that it contains No active geo-replication sessions this string. for that i did like this