influx db issue

asked 2019-12-10 10:52:06 -0500

Karz gravatar image

Hi All, Whenever we execute the yardstick test case via the below command, we get an error in influx DB, but the test case is executing successfully. Please let me know if this connection issue can be resolved?

Yardstick command: yardstick -d task start opnfv_yardstick_testcase01.YAML

Message: 2019-12-09 18:09:49,530 [ERROR] yardstick.dispatcher.influxdb influxdb.py:80 Failed to record result data: HTTPConnectionPool(host='127.X.X.1', port=8086): Max retries exceeded with url: /write?db=yardstick (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x7f1ffd2f8cd0="">: Failed to establish a new connection: [Errno 111] Connection refused',))

Traceback (most recent call last): File "/home/opnfv/repos/yardstick/yardstick/dispatcher/influxdb.py", line 78, in upload_one_record timeout=self.timeout) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 112, in post return request('post', url, data=data, json=json, *kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 58, in request return session.request(method=method, url=url, *kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 518, in request resp = self.send(prep, *send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 639, in send r = adapter.send(request, *kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 502, in send raise ConnectionError(e, request=request)

ConnectionError: HTTPConnectionPool(host='127.X.X.1', port=8086): Max retries exceeded with url: /write?db=yardstick (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x7f1ffd2f8cd0="">: Failed to establish a new connection: [Errno 111] Connection refused',))

2019-12-09 18:09:59,851 [DEBUG] yardstick.benchmark.runners.duration duration.py:105 runner=5947 seq=5 END 2019-12-09 18:09:59,852 [INFO] yardstick.benchmark.runners.duration duration.py:111 Worker END 2019-12-09 18:09:59,852 [DEBUG] yardstick.benchmark.runners.duration duration.py:124 queue.qsize() = 1 2019-12-09 18:09:59,853 [DEBUG] yardstick.benchmark.runners.duration duration.py:125 output_queue.qsize() = 0 2019-12-09 18:09:59,896 [DEBUG] yardstick.benchmark.runners.base base.py:282 result_queue size 1 2019-12-09 18:09:59,897 [DEBUG] yardstick.dispatcher.influxdb influxdb.py:72 Test result line format : opnfv_yardstick_tc002,deploy_scenario=unknown,installer=unknown,pod_name=unknown,task_id=74898d7e-adad-4ea5-a991-e5feba921b18,version=unknown rtt.ares=0.519 1575914999851600896 ...

2019-12-09 18:09:59,898 [ERROR] yardstick.dispatcher.influxdb influxdb.py:80 Failed to record result data: HTTPConnectionPool(host='127.X.X.1', port=8086): Max retries exceeded with url: /write?db=yardstick (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x7f1ffd2f8d10="">: Failed to establish a new connection: [Errno 111] Connection refused',)) ..

ConnectionError: HTTPConnectionPool(host='127.X.X.1', port=8086): Max retries exceeded with url: /write?db=yardstick (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection object="" at="" 0x7f1ffd2f8d10="">: Failed to establish a new connection: [Errno 111] Connection refused',))

2019-12-09 18:09:59,899 [INFO] yardstick.benchmark.core.task task.py:285 Runner ended .. 2019-12-09 18:10:41,784 [INFO] yardstick.benchmark.core.task task.py:148 Task /home/opnfv/repos/yardstick ... (more)

edit retag flag offensive close merge delete

Comments

While I don't know anything about Yardstick, [Errno 111] Connection refused means that nothing listens at network port 8086, IP address 127.x.x.1. This might be caused by an incorrect address or port, or the process that is supposed to be listening is not running.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-10 17:13:57 -0500 )edit