Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: heketi-pod fails to come back, after we kill and restart the heketi pod Version-Release number of selected component (if applicable): heketi-client-6.0.0-3.el7rhgs.x86_64 cns-deploy-6.0.0-3.el7rhgs.x86_64 atomic-openshift-3.9.0-0.47.0.git.0.965194d.el7.x86_64 openshift-ansible-3.9.0-0.47.0.git.0.f8847bb.el7.noarch How reproducible: Once Steps to Reproduce: Run the automated testcase for heketi-pod failure, test fails. 1. have the setup up and running, 1 app-pod created. 2. Now delete the heketi pod command: oc delete dc,service,route heketi 3. now cretate a pvc it goes to pending state 4. Recreate heketi process 5. heketi pod fails to come back. [root@dhcp46-24 ~]# oc get pods NAME READY STATUS RESTARTS AGE glusterblock-provisioner-dc-1-c5hcl 1/1 Running 0 3d glusterfs-mgp2k 1/1 Running 0 3d glusterfs-tt5rs 1/1 Running 1 3d glusterfs-wbgzs 1/1 Running 1 3d heketi-1-tblcg 0/1 CrashLoopBackOff 66 5h storage-project-router-1-z5tg8 1/1 Running 0 3d Actual results: heketi pod fails to come back. Expected results: heketi pod should come back and pvc should be in bound state.
Additional info: [root@dhcp46-24 ~]# oc logs heketi-1-tblcg Heketi 6.0.0 [heketi] INFO 2018/02/26 08:36:07 Loaded kubernetes executor [heketi] INFO 2018/02/26 08:36:07 Please refer to the Heketi troubleshooting documentation for more information on how to resolve this issue. [heketi] ERROR 2018/02/26 08:36:07 /src/github.com/heketi/heketi/apps/glusterfs/app.go:150: Heketi terminated while performing one or more operations. Server will not start as long as pending operations are present in the db. panic: Heketi terminated while performing one or more operations. Server will not start as long as pending operations are present in the db. goroutine 1 [running]: github.com/heketi/heketi/apps/glusterfs.NewApp(0x236bf40, 0xc42000e198, 0x0) /builddir/build/BUILD/heketi-6.0.0/src/github.com/heketi/heketi/apps/glusterfs/app.go:154 +0xc0e main.main() /builddir/build/BUILD/heketi-6.0.0/main.go:273 +0x46d
Without a new build with fix for this issue, the negative test cases cannot be carried out.
*** This bug has been marked as a duplicate of bug 1548322 ***