Description of problem:
When running the command heketi-cli volume list it outputs 1019 volumes and after that it throws the error below.
[ec2-user@ip-172-16-29-85 ~]$ heketi-cli volume list | wc -l
Error: Get http://172.30.107.251:8080/volumes/aa6bac009257c73a671939e913628d5d: dial tcp 172.30.107.251:8080: socket: too many open files
1019
Version-Release number of selected component (if applicable):
[ec2-user@ip-172-16-29-85 ~]$ rpm -qa | grep heketi
heketi-client-7.0.0-11.el7rhgs.x86_64
sh-4.2# rpm -qa | grep heketi
heketi-7.0.0-11.1.HOTFIX.Case02251916.BZ1650138.el7rhgs.x86_64
heketi-client-7.0.0-11.1.HOTFIX.Case02251916.BZ1650138.el7rhgs.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Create more than 1400+ volumes
2. Now try running 'heketi volume list'
3.
Actual results:
Heketi lists 1019 volumes and after that the following error is seen.
[ec2-user@ip-172-16-29-85 ~]$ heketi-cli volume list | wc -l
Error: Get http://172.30.107.251:8080/volumes/aa6bac009257c73a671939e913628d5d: dial tcp 172.30.107.251:8080: socket: too many open files
1019
Expected results:
heketi cli should not throw any error.
Additional info:
when heketi-cli command is run from inside the pod, no such error is seen.
sh-4.2# heketi-cli volume list | wc -l
1544
The output of heketi-cli volume list is present in the volume list here.
http://rhsqe-repo.lab.eng.blr.redhat.com/cns/experian/AWS1_setup_glusterd_logs/heketi_cli_volume_list
Comment 2Raghavendra Talur
2019-01-24 21:00:41 UTC
*** Bug 1658068 has been marked as a duplicate of this bug. ***