Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get token not connection #5

Open
Shinhocheol opened this issue Oct 16, 2018 · 1 comment
Open

get token not connection #5

Shinhocheol opened this issue Oct 16, 2018 · 1 comment

Comments

@Shinhocheol
Copy link

docker run
018-10-16 02:34:37,987:INFO:Starting new HTTP connection (1): controller
2018-10-16 02:34:58,132:DEBUG:Incremented Retry for (url='/v3/auth/tokens'): Retry(total=0, connect=None, read=None, redirect=None)
2018-10-16 02:34:58,133:WARNING:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7ff990fe2c90>, 'Connection to controller timed out. (connect timeout=20)')': /v3/auth/tokens
2018-10-16 02:34:58,133:INFO:Starting new HTTP connection (2): controller
2018-10-16 02:35:18,284:ERROR:Got exception for 'http://controller:35357/v3/auth/tokens': 'HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x7ff990fe2dd0>, 'Connection to controller timed out. (connect timeout=20)'))'

@Shinhocheol
Copy link
Author

why domain ?

docker run --env-file env_file -it rakeshpatnaik/prometheus-openstack-exporter:v0.2

2018-10-16 07:42:25,669:DEBUG:Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None)
2018-10-16 07:42:25,669:DEBUG:Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None)
2018-10-16 07:42:25,670:DEBUG:new osclient added to cache
2018-10-16 07:42:25,670:DEBUG:new osclient added to cache
2018-10-16 07:42:25,670:DEBUG:new osclient added to cache
2018-10-16 07:42:25,670:DEBUG:new osclient added to cache
2018-10-16 07:42:25,670:DEBUG:new osclient added to cache
2018-10-16 07:42:25,670:INFO:Trying to get token from 'http://192.168.232.253:35357/v3'
2018-10-16 07:42:25,673:INFO:Starting new HTTP connection (1): 192.168.232.253
2018-10-16 07:42:25,861:DEBUG:"POST /v3/auth/tokens HTTP/1.1" 201 6818
2018-10-16 07:42:25,861:INFO:http://192.168.232.253:35357/v3/auth/tokens responded with status code 201
2018-10-16 07:42:25,862:DEBUG:Got token 'gAAAAABbxZZhrGCgrid6NZTbzor2jxLHfveMNHhDNPPj-MyE9wxMo9OtxszB9fFXpJ3MKgtueGs9u5LZ83bABiTwDBx5t5nJNCfqkon4e9-dDsbrVVi-VC7ZkqE8JIO3Gd58TgHqzezTIXgyAF1OlSbT11ASqZEjQk2BbLh3jpaH_yRNrXjpxFI'
2018-10-16 07:42:25,863:INFO:Starting new HTTP connection (1): http://controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant