So I'm trying to install graphite API on centos to talk between Graphite and Grafana, all on the same VM. I keep getting the error:
Unit graphite-api.service has begun starting up.
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Starting gunicorn 19.7.1
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Listening at: unix:/run/graphite-ap
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Using worker: sync
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2833] [INFO] Booting worker with pid: 2833
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2834] [INFO] Booting worker with pid: 2834
gunicorn[2828]: {"path": "/etc/graphite-api.yaml", "event": "loading configuration"}
gunicorn[2828]: Traceback (most recent call last):
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/app.py", line 68, in <mod
gunicorn[2828]: configure(app)
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/config.py", line 132, in
gunicorn[2828]: if 'hashing_keyfunc' in config['carbon']:
gunicorn[2828]: TypeError: argument of type 'NoneType' is not iterable
gunicorn[2828]: {"path": "/etc/graphite-api.yaml", "event": "loading configuration"}
gunicorn[2828]: Traceback (most recent call last):
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/app.py", line 68, in <mod
gunicorn[2828]: configure(app)
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/config.py", line 132, in
gunicorn[2828]: if 'hashing_keyfunc' in config['carbon']:
gunicorn[2828]: TypeError: argument of type 'NoneType' is not iterable
gunicorn[2828]: [2017-08-04 17:33:45 +0000] [2828] [INFO] Shutting down: Master
gunicorn[2828]: [2017-08-04 17:33:45 +0000] [2828] [INFO] Reason: Worker failed to boot.
systemd[1]: graphite-api.service: main process exited, code=exited, status=3/NOTIMPLEMENTED.
Not quite sure why app.py is causing the issue it is.. Thanks in advance for any help.
So I'm trying to install graphite API on centos to talk between Graphite and Grafana, all on the same VM. I keep getting the error:
Unit graphite-api.service has begun starting up.
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Starting gunicorn 19.7.1
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Listening at: unix:/run/graphite-ap
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2828] [INFO] Using worker: sync
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2833] [INFO] Booting worker with pid: 2833
gunicorn[2828]: [2017-08-04 17:33:44 +0000] [2834] [INFO] Booting worker with pid: 2834
gunicorn[2828]: {"path": "/etc/graphite-api.yaml", "event": "loading configuration"}
gunicorn[2828]: Traceback (most recent call last):
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/app.py", line 68, in <mod
gunicorn[2828]: configure(app)
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/config.py", line 132, in
gunicorn[2828]: if 'hashing_keyfunc' in config['carbon']:
gunicorn[2828]: TypeError: argument of type 'NoneType' is not iterable
gunicorn[2828]: {"path": "/etc/graphite-api.yaml", "event": "loading configuration"}
gunicorn[2828]: Traceback (most recent call last):
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/app.py", line 68, in <mod
gunicorn[2828]: configure(app)
gunicorn[2828]: File "/usr/lib/python2.7/site-packages/graphite_api/config.py", line 132, in
gunicorn[2828]: if 'hashing_keyfunc' in config['carbon']:
gunicorn[2828]: TypeError: argument of type 'NoneType' is not iterable
gunicorn[2828]: [2017-08-04 17:33:45 +0000] [2828] [INFO] Shutting down: Master
gunicorn[2828]: [2017-08-04 17:33:45 +0000] [2828] [INFO] Reason: Worker failed to boot.
systemd[1]: graphite-api.service: main process exited, code=exited, status=3/NOTIMPLEMENTED.
Not quite sure why app.py is causing the issue it is.. Thanks in advance for any help.