Details

Description

Authentication calls to an openstack endpoint (in this case Rackspace) will occasionally create a connection that will stay open indefinitely. By adding a timeout I can force the connection to close after a few seconds. That way I can catch this behavior with an exception and log the error before the server request times out. In this branch I add a timeout kwarg and set a reasonable default of 200 seconds.