Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be unavailable on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1576442 - KeyError: 'sizeTotal' in gluster volume status monitoring
Summary: KeyError: 'sizeTotal' in gluster volume status monitoring
Alias: None
Product: vdsm
Classification: oVirt
Component: Gluster
Version: 4.30.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.2.4
: ---
Assignee: Sahina Bose
Depends On:
TreeView+ depends on / blocked
Reported: 2018-05-09 13:04 UTC by Sahina Bose
Modified: 2018-06-26 08:45 UTC (History)
2 users (show)

Fixed In Version: vdsm v4.20.29
Doc Type: Bug Fix
Doc Text:
Cause: Missing elements in "gluster volume status detail" output Consequence: vdsm monitoring throws exception and the status updates are not reflected in engine correctly Fix: Handle missing elements gracefully Result: Monitoring works for volumes that report status correctly
Clone Of:
Last Closed: 2018-06-26 08:45:42 UTC
oVirt Team: Gluster
rule-engine: ovirt-4.2?
sasundar: planning_ack?
sabose: devel_ack+
sasundar: testing_ack+

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
oVirt gerrit 91093 0 master MERGED gluster: Handle missing elements in volume status output 2018-05-13 18:09:11 UTC
oVirt gerrit 91218 0 ovirt-4.2 MERGED gluster: Handle missing elements in volume status output 2018-05-29 14:56:04 UTC

Description Sahina Bose 2018-05-09 13:04:13 UTC
Description of problem:

Error seen when monitoring gluster volume status detail - resulting in monitoring of capacity and size not working for some volumes.

This is seen when the gluster output does not contain the size related fields:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Not sure under what conditions gluster fails to report these.

Comment 1 SATHEESARAN 2018-06-22 08:27:57 UTC
Tested with hyperconverged setup with:

Repeated around 100 times the command - 'gluster volume status vmstore details'
Size values are returned correctly each time

Here is the sample output:
[root@ ~]# gluster volume status vmstore detail --xml | grep size


Comment 2 Sandro Bonazzola 2018-06-26 08:45:42 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Note You need to log in before you can comment on or make changes to this bug.