Bug 1441044
| Summary: | heketi device remove command on a device with 150 volumes fails | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | krishnaram Karthick <kramdoss> | ||||||
| Component: | heketi | Assignee: | Ramakrishna Reddy Yekulla <rreddy> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | krishnaram Karthick <kramdoss> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | cns-3.5 | CC: | hchiramm, kramdoss, madam, mliyazud, pprakash, rcyriac, rhs-bugs, rreddy, rtalur, 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: | 2017-09-12 14:04:07 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: | 1427156, 1451471, 1451474 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
krishnaram Karthick
2017-04-11 04:23:25 UTC
Some logs from atomic-openshift-node service corresponding to the time when the node started timing out for heketi commands: Apr 11 00:32:11 dhcp47-176.lab.eng.blr.redhat.com atomic-openshift-node[6217]: I0411 00:32:11.086799 6217 operation_executor.go:917] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/c80d740b-1e0a-11e7-8bb8-005056b3a26f-default-token-l8k05" (spec.Name: "default-token-l8k05") pod "c80d740b-1e0a-11e7-8bb8-005056b3a26f" (UID: "c80d740b-1e0a-11e7-8bb8-005056b3a26f"). Apr 11 00:32:12 dhcp47-176.lab.eng.blr.redhat.com atomic-openshift-node[6217]: E0411 00:32:12.190309 6217 glusterfs.go:133] glusterfs: failed to get endpoints pvc-fe80cde3-1e08-11e7-8bb8-005056b3a26f[an empty namespace may not be set when a resource name is provided] Apr 11 00:32:12 dhcp47-176.lab.eng.blr.redhat.com atomic-openshift-node[6217]: E0411 00:32:12.190369 6217 reconciler.go:437] Could not construct volume information: MountVolume.NewMounter failed for volume "kubernetes.io/glusterfs/01d50cb3-1e09-11e7-8bb8-005056b3a26f-pvc-fe80cde3-1e08-11e7-8bb8-005056b3a26f" (spec.Name: "pvc-fe80cde3-1e08-11e7-8bb8-005056b3a26f") pod "01d50cb3-1e09-11e7-8bb8-005056b3a26f" (UID: "01d50cb3-1e09-11e7-8bb8-005056b3a26f") with: an empty namespace may not be set when a resource name is provided Apr 11 00:32:12 dhcp47-176.lab.eng.blr.redhat.com atomic-openshift-node[6217]: E0411 00:32:12.190428 6217 glusterfs.go:133] glusterfs: failed to get endpoints pvc-09729254-1e0a-11e7-8bb8-005056b3a26f[an empty namespace may not be set when a resource name is provided] Apr 11 00:32:12 dhcp47-176.lab.eng.blr.redhat.com atomic-openshift-node[6217]: E0411 00:32:12.190442 6217 reconciler.go:437] Could not construct volume information: MountVolume.NewMounter failed for volume "kubernetes.io/glusterfs/0d87676e-1e0a-11e7-8bb8-005056b3a26f-pvc-09729254-1e0a-11e7-8bb8-005056b3a26f" (spec.Name: "pvc-09729254-1e0a-11e7-8bb8-005056b3a26f") pod "0d87676e-1e0a-11e7-8bb8-005056b3a26f" (UID: "0d87676e-1e0a-11e7-8bb8-005056b3a26f") with: an empty namespace may not be set when a resource name is provided Created attachment 1270744 [details]
more logs from atomic-openshift-node
Karthick, Reading logs would become easy if I knew how the operations were done. Did you create all 150 volumes first, then create mongodb pods and then perform remove device? Or was it all intermixed and parallel? (In reply to Raghavendra Talur from comment #5) > Karthick, > > Reading logs would become easy if I knew how the operations were done. Did > you create all 150 volumes first, then create mongodb pods and then perform > remove device? Or was it all intermixed and parallel? I have a template to create mongodb pod, which creates pvc dynamically, creates service, route, dc and finally creates mongodb pod. [will attach the template] so creation of one pod would mean creation of all the above at once. This way, 150 pods were created one by one with a gap of 10 seconds. # for i in {1..100}; do oc new-app mongo.json --param=DATABASE_SERVICE_NAME=mongodb-$i --param=VOLUME_CAPACITY=4Gi; sleep 10; done Only after the creation of pods, device remove was run on a device. There was no parallel operation in this test. Hope this information helps. Created attachment 1271034 [details]
mongodb-template
This issue is not seen in cns 3.6. Verified in build - cns-deploy-5.0.0-34.el7rhgs.x86_64 |