Hi,
I have been trying to use your "prometheus-openstack-exporter" to collect openstack mectrics, but some problems occur, can you give me some help?
the error logs are as follows:
2019-07-17 03:06:57,487:INFO:Trying to get token from 'http://10.0.0.5:35357/v3'
2019-07-17 03:06:57,490:INFO:Starting new HTTP connection (1): 10.0.0.5
2019-07-17 03:06:57,570:DEBUG:"POST /v3/auth/tokens HTTP/1.1" 201 4600
2019-07-17 03:06:57,570:INFO:http://10.0.0.5:35357/v3/auth/tokens responded with status code 201
2019-07-17 03:06:57,571:DEBUG:Got token 'gAAAAABdLpAOdQ3mAbaxpI8Tp7X0I-Q85mkdv1VwyuLFXbD1tKkUQVNj-z0Dg0mStesTAR_yEttN6tFGf5RephAlk-K5F2pH4klc3HNXruBPGPv4yL1YGR2fm-7LfShP5jGE945ixUV1seN4oEF0uTabX02gPHD0bA0tvZiQPWgKTY5qaTa5jsY'
2019-07-17 03:06:57,572:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:07:17,585:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:07:17,585:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:07:17,585:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:07:37,601:ERROR:Got exception for 'http://controller:8774': 'HTTPConnectionPool(host='controller', port=8774): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:07:37,601:INFO:Service nova check failed (returned '500' but expected '[200]')
2019-07-17 03:07:37,602:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:07:57,618:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:07:57,618:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b00d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:07:57,618:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:08:17,622:ERROR:Got exception for 'http://controller:8776': 'HTTPConnectionPool(host='controller', port=8776): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:08:17,622:INFO:Service cinderv2 check failed (returned '500' but expected '[200, 300]')
2019-07-17 03:08:17,623:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:08:37,636:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:08:37,636:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b02d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:08:37,636:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:08:57,651:ERROR:Got exception for 'http://controller:8778': 'HTTPConnectionPool(host='controller', port=8778): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0590>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:08:57,651:INFO:Service placement check failed (returned '500' but expected '[401]')
2019-07-17 03:08:57,652:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:09:17,662:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:09:17,663:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b04d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:09:17,663:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:09:37,684:ERROR:Got exception for 'http://controller:5000': 'HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:09:37,684:INFO:Service keystone check failed (returned '500' but expected '[300]')
2019-07-17 03:09:37,684:INFO:No check found for service 'cinderv3', creating one
2019-07-17 03:09:37,685:INFO:Starting new HTTP connection (3): controller
2019-07-17 03:09:57,696:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:09:57,696:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:09:57,696:INFO:Starting new HTTP connection (4): controller
Finnally, the version of openstack is ocata.
Waiting for your reply. Thanks a lot.
Hi,
I have been trying to use your "prometheus-openstack-exporter" to collect openstack mectrics, but some problems occur, can you give me some help?
the error logs are as follows:
2019-07-17 03:06:57,487:INFO:Trying to get token from 'http://10.0.0.5:35357/v3'
2019-07-17 03:06:57,490:INFO:Starting new HTTP connection (1): 10.0.0.5
2019-07-17 03:06:57,570:DEBUG:"POST /v3/auth/tokens HTTP/1.1" 201 4600
2019-07-17 03:06:57,570:INFO:http://10.0.0.5:35357/v3/auth/tokens responded with status code 201
2019-07-17 03:06:57,571:DEBUG:Got token 'gAAAAABdLpAOdQ3mAbaxpI8Tp7X0I-Q85mkdv1VwyuLFXbD1tKkUQVNj-z0Dg0mStesTAR_yEttN6tFGf5RephAlk-K5F2pH4klc3HNXruBPGPv4yL1YGR2fm-7LfShP5jGE945ixUV1seN4oEF0uTabX02gPHD0bA0tvZiQPWgKTY5qaTa5jsY'
2019-07-17 03:06:57,572:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:07:17,585:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:07:17,585:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0050>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:07:17,585:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:07:37,601:ERROR:Got exception for 'http://controller:8774': 'HTTPConnectionPool(host='controller', port=8774): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:07:37,601:INFO:Service nova check failed (returned '500' but expected '[200]')
2019-07-17 03:07:37,602:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:07:57,618:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:07:57,618:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b00d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:07:57,618:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:08:17,622:ERROR:Got exception for 'http://controller:8776': 'HTTPConnectionPool(host='controller', port=8776): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:08:17,622:INFO:Service cinderv2 check failed (returned '500' but expected '[200, 300]')
2019-07-17 03:08:17,623:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:08:37,636:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:08:37,636:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b02d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:08:37,636:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:08:57,651:ERROR:Got exception for 'http://controller:8778': 'HTTPConnectionPool(host='controller', port=8778): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0590>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:08:57,651:INFO:Service placement check failed (returned '500' but expected '[401]')
2019-07-17 03:08:57,652:INFO:Starting new HTTP connection (1): controller
2019-07-17 03:09:17,662:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:09:17,663:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b04d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:09:17,663:INFO:Starting new HTTP connection (2): controller
2019-07-17 03:09:37,684:ERROR:Got exception for 'http://controller:5000': 'HTTPConnectionPool(host='controller', port=5000): Max retries exceeded with url: / (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))'
2019-07-17 03:09:37,684:INFO:Service keystone check failed (returned '500' but expected '[300]')
2019-07-17 03:09:37,684:INFO:No check found for service 'cinderv3', creating one
2019-07-17 03:09:37,685:INFO:Starting new HTTP connection (3): controller
2019-07-17 03:09:57,696:DEBUG:Incremented Retry for (url='/'): Retry(total=0, connect=None, read=None, redirect=None)
2019-07-17 03:09:57,696:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fee902b0610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /
2019-07-17 03:09:57,696:INFO:Starting new HTTP connection (4): controller
Finnally, the version of openstack is ocata.
Waiting for your reply. Thanks a lot.