Bug 1634723

Summary: db related panic leads to failure to get node info
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Madhu Rajanna <mrajanna>
Component: heketiAssignee: John Mulligan <jmulligan>
Status: CLOSED NOTABUG QA Contact: Prasanth <pprakash>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: cns-3.10CC: hchiramm, kramdoss, madam, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---   
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-10-03 03:33:17 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:
Attachments:
Description Flags
heketi logs none

Description Madhu Rajanna 2018-10-01 12:37:12 UTC
Created attachment 1489032 [details]
heketi logs

Description of problem:

Failed to list node  info in heketi

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

heketi-cli --version
heketi-cli 7.0.0

heketi --version
Heketi 7.0.0

How reproducible:


Steps to Reproduce:
don't have the steps to reproduce the issue, but  somehow I hit this issue 

Actual results:

heketi is doing panic

Expected results:
heketi should return node info

Additional info:

Comment 2 John Mulligan 2018-10-01 14:48:34 UTC
Was there anything unusual about the deployment of heketi & was a this a containerized deployment? Was the heketidbstorage volume healthy (all bricks up) when the error occurred?

Comment 3 Madhu Rajanna 2018-10-03 03:33:17 UTC
closing this BZ as after some time everything started working fine

[root@cns-master ~]# heketi-cli node info 345438b215c947a8e2d9ab1c08e41608 --user=admin --secret=adminkey -s http://172.31.194.213:8080
Node Id: 345438b215c947a8e2d9ab1c08e41608
State: online
Cluster Id: 52fc41ebaf20f8dc6043f7e0039d1942
Zone: 2
Management Hostname: cns-node2
Storage Hostname: 192.168.122.130
Devices:
Id:147428a289cbe98359e8c6c3d1d13a8a   Name:/dev/vdc            State:online    Size (GiB):499     Used (GiB):2       Free (GiB):497     Bricks:1       
Id:73c6087f0fccde20d590ff8a48c17865   Name:/dev/vdd            State:online    Size (GiB):499     Used (GiB):0       Free (GiB):499     Bricks:0       
[root@cns-master ~]# heketi-cli node list --user=admin --secret=adminkey -s http://172.31.194.213:8080
Id:345438b215c947a8e2d9ab1c08e41608	Cluster:52fc41ebaf20f8dc6043f7e0039d1942
Id:444d5ac0f2a3e741d602e4e79f885db2	Cluster:52fc41ebaf20f8dc6043f7e0039d1942
Id:fb9b8d561b56c9e2fe4ef75f11371f9c	Cluster:52fc41ebaf20f8dc6043f7e0039d1942
[root@cns-master ~]# 
[root@cns-master ~]# 
[root@cns-master ~]# 
[root@cns-master ~]# heketi-cli volume list --user=admin --secret=adminkey -s http://172.31.194.213:8080
Id:679aa01874b912afc3796fcfc5f4e587    Cluster:52fc41ebaf20f8dc6043f7e0039d1942    Name:heketidbstorage