Skip to content

Instantly share code, notes, and snippets.

@aboudreault
Created December 18, 2015 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aboudreault/ca2eefd1c250f0bff8a0 to your computer and use it in GitHub Desktop.
Save aboudreault/ca2eefd1c250f0bff8a0 to your computer and use it in GitHub Desktop.
aboudreault@kovaro:~/git/cstar/automaton$ ctool metrics test_cluster --fetch-osm --collect-interval=10
Traceback (most recent call last):
File "/home/aboudreault/git/cstar/automaton/bin/ctool", line 16, in <module>
run()
File "/home/aboudreault/git/cstar/automaton/automaton/ctool.py", line 3524, in run
sys.exit(cmd_obj.run())
File "/home/aboudreault/git/cstar/automaton/automaton/ctool.py", line 2357, in run
collect_interval, start, "now")
File "/home/aboudreault/git/cstar/automaton/automaton/api/perf_monitoring.py", line 406, in export_legacy_ctool_os_metrics
result_map = __convert_to_legacy_format(json_original_content, cluster)
File "/home/aboudreault/git/cstar/automaton/automaton/api/perf_monitoring.py", line 354, in __convert_to_legacy_format
if node_ip not in result_map:
UnboundLocalError: local variable 'node_ip' referenced before assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment