canonical / prometheus-openstack-exporter

OpenStack exporter for the prometheus monitoring system
GNU General Public License v3.0
128 stars 113 forks source link

Fixed NoneType has no attribute 'upper' #97

Closed hloeung closed 4 years ago

hloeung commented 4 years ago

Nov 14 07:52:57 sliggoo prometheus-openstack-exporter.prometheus-openstack-exporter[1897833]: Traceback (most recent call last): Nov 14 07:52:57 sliggoo prometheus-openstack-exporter.prometheus-openstack-exporter[1897833]: File "/snap/prometheus-openstack-exporter/30/bin/prometheus-openstack-exporter", line 795, in Nov 14 07:52:57 sliggoo prometheus-openstack-exporter.prometheus-openstack-exporter[1897833]: numeric_log_level = getattr(logging, config.get('log_level').upper(), None) Nov 14 07:52:57 sliggoo prometheus-openstack-exporter.prometheus-openstack-exporter[1897833]: AttributeError: 'NoneType' object has no attribute 'upper'

This was introduced in commit 7a86dee2