The guide seems heavily outdated - if someone can assist. When I manually execute it I get the following error:
Any ideas?
sudo ./prometheus-openstack-exporter prometheus-openstack-exporter.yaml
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
Starting data gather thread
Error getting stats: Traceback (most recent call last):
File "./prometheus-openstack-exporter", line 194, in run
keystone, nova, neutron, cinder = get_clients()
File "./prometheus-openstack-exporter", line 80, in get_clients
"auth_url")
File "./prometheus-openstack-exporter", line 60, in get_creds_list
return [env['OS_%s' % name.upper()] for name in names]
File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
raise KeyError(key)
KeyError: 'OS_USERNAME'
^CTraceback (most recent call last):
File "./prometheus-openstack-exporter", line 685, in <module>
server.serve_forever()
File "/usr/lib/python2.7/SocketServer.py", line 231, in serve_forever
poll_interval)
File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
return func(*args)
KeyboardInterrupt
Good day
The guide seems heavily outdated - if someone can assist. When I manually execute it I get the following error:
Any ideas?