-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphite-API erroring out at appy.py line 68 #221
Comments
From the stack trace, looks like error is caused by config having an empty |
Removing that line seems to have fixed it. Now on systemctl status I'm getting, raphite-api.service - Graphite-API service gunicorn[3041]: [2017-08-04 18:37:38 +0000] [3046] [INFO] Booting worker with pid: 3046 I have yet to setup collectD to test it, The one thing that worries me is the "(code=exited, status=1/FAILURE)", however the proccess shows it as still running. I'm not familular with gunicorn so unsure if this is normal. Either way thanks so much for your 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.
The text was updated successfully, but these errors were encountered: