Bug 1491758

Summary: [CNS env]: app pod crashes when node containing gluster pod is rebooted
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: krishnaram Karthick <kramdoss>
Component: tcmu-runnerAssignee: Prasanna Kumar Kalever <prasanna.kalever>
Status: CLOSED ERRATA QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, asrivast, rhs-bugs, rtalur
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tcmu-runner-1.2.0-15.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:22:29 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:
Bug Depends On:    
Bug Blocks: 1417151    

Description krishnaram Karthick 2017-09-14 15:18:56 UTC
Description of problem:
[This bug is raised based on https://bugzilla.redhat.com/show_bug.cgi?id=1477455#c76]

when the node containing gluster pod is restarted, app pod failed and went into crashloop.

[root@dhcp47-57 ~]# oc get pods
NAME                                  READY     STATUS             RESTARTS   AGE
glusterblock-provisioner-dc-1-v0jd6   1/1       Running            0          1d
glusterfs-30vb6                       1/1       Running            0          1d
glusterfs-bzx4c                       1/1       Running            0          1d
glusterfs-mc1xn                       1/1       Running            1          1d
heketi-1-5ktqm                        1/1       Running            0          1d
mongodb-1-1-7r8rf                     0/1       CrashLoopBackOff   304        1d
storage-project-router-2-56dv2        1/1       Running            2          38d


Version-Release number of selected component (if applicable):
cns-deploy-5.0.0-37.el7rhgs.x86_64

How reproducible:
1/1

Comment 3 Prasanna Kumar Kalever 2017-09-15 06:40:22 UTC
Upstream patches related to the gluster-block and gluster-block-target systemd units [1] and the tcmu-runner systemd unit [2]

[1] https://review.gluster.org/#/c/18029/ 
[2] https://github.com/open-iscsi/tcmu-runner/pull/296

Comment 6 krishnaram Karthick 2017-09-19 06:17:27 UTC
Verified the fix in the below build on cns setup.

rpm -qa | grep 'cns'
cns-deploy-5.0.0-43.el7rhgs.x86_64

sh-4.2# rpm -qa | grep 'tcmu'
libtcmu-1.2.0-15.el7rhgs.x86_64
tcmu-runner-1.2.0-15.el7rhgs.x86_64

following tests were done,

gluster pod restart
node containing gluster pod reboot
app pod restart

Issue reported in this bug was not seen. Moving the bug to verified.

Comment 8 errata-xmlrpc 2017-09-21 04:22:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2017:2773