Ask Your Question
0

stackalytics.processor.main [-] Unable to load default data

asked 2017-05-08 11:56:28 -0500

Looking for help on configuration. Followed Stackalytics/HowToRun steps for installation, but got error on step 6. I do have access $ stackalytics-processor --config-file /opt/stack/stackalytics/etc/stackalytics.conf

2017-05-08 12:46:18.352 10663 INFO stackalytics.processor.utils [-] Logging enabled 2017-05-08 12:46:18.708 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from Gerrit 2017-05-08 12:46:18.808 10663 INFO paramiko.transport [-] Connected (version 2.0, client GerritCodeReview_2.11.4-22-ge0c0f29) 2017-05-08 12:46:19.134 10663 INFO paramiko.transport [-] Authentication (publickey) successful! 2017-05-08 12:46:20.014 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from Gerrit 2017-05-08 12:46:20.143 10663 INFO paramiko.transport [-] Connected (version 2.0, client GerritCodeReview_2.11.4-22-ge0c0f29) 2017-05-08 12:46:20.433 10663 INFO paramiko.transport [-] Authentication (publickey) successful! 2017-05-08 12:46:21.465 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from Gerrit 2017-05-08 12:46:21.564 10663 INFO paramiko.transport [-] Connected (version 2.0, client GerritCodeReview_2.11.4-22-ge0c0f29) 2017-05-08 12:46:21.908 10663 INFO paramiko.transport [-] Authentication (publickey) successful! 2017-05-08 12:46:22.735 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from Gerrit 2017-05-08 12:46:22.835 10663 INFO paramiko.transport [-] Connected (version 2.0, client GerritCodeReview_2.11.4-22-ge0c0f29) 2017-05-08 12:46:23.165 10663 INFO paramiko.transport [-] Authentication (publickey) successful! 2017-05-08 12:46:23.985 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from GitHub 2017-05-08 12:46:26.448 10663 INFO stackalytics.processor.default_data_processor [-] Retrieving project list from GitHub 2017-05-08 12:46:26.922 10663 INFO stackalytics.processor.default_data_processor [-] Reading DriverLog data from uri: file:///opt/stack/stackalytics/etc/default_data.json 2017-05-08 12:46:26.943 10663 CRITICAL stackalytics [-] KeyError: 'drivers' 2017-05-08 12:46:26.943 10663 ERROR stackalytics Traceback (most recent call last): 2017-05-08 12:46:26.943 10663 ERROR stackalytics File "/bin/stackalytics-processor", line 10, in <module> 2017-05-08 12:46:26.943 10663 ERROR stackalytics sys.exit(main()) 2017-05-08 12:46:26.943 10663 ERROR stackalytics File "/usr/lib/python2.7/site-packages/stackalytics/processor/main.py", line 321, in main 2017-05-08 12:46:26.943 10663 ERROR stackalytics CONF.driverlog_data_uri) 2017-05-08 12:46:26.943 10663 ERROR stackalytics File "/usr/lib/python2.7/site-packages/stackalytics/processor/default_data_processor.py", line 267, in process 2017-05-08 12:46:26.943 10663 ERROR stackalytics _update_with_driverlog_data(default_data, driverlog_data_uri) 2017-05-08 12:46:26.943 10663 ERROR stackalytics File "/usr/lib/python2.7/site-packages/stackalytics/processor/default_data_processor.py", line 186, in _update_with_driverlog_data 2017-05-08 12:46:26.943 10663 ERROR stackalytics for driver in driverlog_data['drivers']: 2017-05-08 12:46:26.943 10663 ERROR stackalytics KeyError: 'drivers' 2017-05-08 12:46:26.943 10663 ERROR stackalytics

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-08 13:38:37 -0500

when I try with "stackalytics-processor" command without local conf file, then I got these errors: 2017-05-08 14:35:00.223 12372 INFO stackalytics.processor.utils [-] Logging enabled 2017-05-08 14:35:00.460 12372 WARNING stackalytics.processor.utils [-] Error "'X509' object has no attribute '_x509'" parsing json from uri https://git.openstack.org/cgit/openstack/stackalytics/plain/etc/default_data.json (https://git.openstack.org/cgit/openst...) 2017-05-08 14:35:00.461 12372 CRITICAL stackalytics.processor.main [-] Unable to load default data

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-05-08 11:56:28 -0500

Seen: 16 times

Last updated: May 08 '17