Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-199

Add http connection timeout to openstack and libcloud connections

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            kami Tomaz Muraus
            chrisgilmerproj Chris Gilmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified