-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing informations on geo replication tab of GlusterFS volumes.
Since the upgrade to oVirt 4.5 and GlusterFS 10, information about snapshots and geo replication are no more visible on the engine Webui. After digging VDSM logs, I found that it's caused by the change of some XML elements name introduced in a new Gluster release (gluster/glusterfs#1568) and by the addition of the timezone in output of status command. This commit fix the parsing process of the output returned by gluster command, so that data sent to ovirt engine are as expected. Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=2104278
- Loading branch information
Showing
6 changed files
with
101 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<cliOutput> | ||
<opRet>0</opRet> | ||
<opErrno>0</opErrno> | ||
<opErrstr/> | ||
<geoRep> | ||
<volume> | ||
<name>vol1</name> | ||
<sessions> | ||
<session> | ||
<session_slave>6a2f7584-05a8-4651-8786-1cd6ae87b896:ssh://192.168.122.145::vol2</session_slave> | ||
<pair> | ||
<master_node>localhost.localdomain</master_node> | ||
<master_node_uuid>6a2f7584-05a8-4651-8786-1cd6ae87b896</master_node_uuid> | ||
<master_brick>/root/b1_vol1</master_brick> | ||
<slave_user>root</slave_user> | ||
<slave>192.168.122.145::vol2</slave> | ||
<slave_node>192.168.122.145</slave_node> | ||
<status>Stopped</status> | ||
<crawl_status>N/A</crawl_status> | ||
<last_synced>2014-12-12 05:18:23</last_synced> | ||
<entry>0</entry> | ||
<data>0</data> | ||
<meta>0</meta> | ||
<failures>0</failures> | ||
<checkpoint_time>2014-12-12 05:17:23</checkpoint_time> | ||
<checkpoint_completion_time>2014-12-12 05:18:20</checkpoint_completion_time> | ||
<checkpoint_completed>Yes</checkpoint_completed> | ||
</pair> | ||
</session> | ||
</sessions> | ||
</volume> | ||
</geoRep> | ||
</cliOutput> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-FileCopyrightText: Red Hat, Inc. | ||
SPDX-License-Identifier: GPL-2.0-or-later |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters