Comment 2 for bug 1544839

Revision history for this message
Eva Balycheva (ubershy) wrote :

Here are args passed to "_create_keystone_client" on successful iterations:

{
   "username":"admin",
   "region_name":"RegionOne",
   "https_insecure":false,
   "tenant_name":"admin",
   "user_domain_name":"Default",
   "admin_domain_name":"Default",
   "endpoint_type":"public",
   "auth_url":"http://127.0.0.1:5000/v2.0",
   "cacert":null,
   "password":"tastysausagerolls",
   "endpoint":null,
   "https_cacert":null,
   "domain_name":null,
   "timeout":180.0,
   "insecure":false,
   "project_domain_name":"Default"
}

Sometimes "client.Client(**args)" inside "_create_keystone_client" throws an exception:
"ConnectFailure: Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens"
I wrapped it inside try block to find which args were passed to "_create_keystone_client". Here are the args when exception happens:

{
   "username":"c_rally_cc4e52f4_zT07okxp",
   "region_name":"RegionOne",
   "https_insecure":false,
   "tenant_name":"c_rally_cc4e52f4_bO7B3oZq",
   "user_domain_name":"default",
   "admin_domain_name":"Default",
   "endpoint_type":"public",
   "auth_url":"http://127.0.0.1:5000/v2.0",
   "cacert":null,
   "password":"d3ee53aa-93ea-4c22-9357-510c0ed7167b",
   "endpoint":null,
   "https_cacert":null,
   "domain_name":null,
   "timeout":180.0,
   "insecure":false,
   "project_domain_name":"default"
}