Bug 1653158

Summary: [RFE] Provide a heketi-cli option to check for heketi DB consistency
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasad Desala <tdesala>
Component: heketiAssignee: John Mulligan <jmulligan>
Status: CLOSED DUPLICATE QA Contact: Prasanth <pprakash>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ocs-3.11CC: hchiramm, kramdoss, madam, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-27 22:41:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasad Desala 2018-11-26 05:46:56 UTC
Description of problem:
=======================
When an user wants to check whether heketi and gluster are in sync he has to go to both heketi and gluster, get the outputs and compare it and then he gets to a conclusion whether the heketi DB is consistent or not. 
 
It would really help if this entire check can be done from heketi itself by providing some heketi-cli db option.

Version-Release number of selected component (if applicable):
heketi-cli --version
heketi-cli 8.0.0

oc v3.11.43
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://dhcp46-33.lab.eng.blr.redhat.com:8443
openshift v3.11.43
kubernetes v1.11.0+d4cacc0

glusterfs version: 3.12.2-29

Comment 2 John Mulligan 2018-11-27 22:41:40 UTC

*** This bug has been marked as a duplicate of bug 1641680 ***