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

RackspaceLBDriver sends badly formatted request when optional body regex not specified on a HTTP/HTTPS health monitor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.1
    • 0.10.1
    • Core
    • None

    Description

      The body regex on a Rackspace Load Balancer HTTP/HTTPS health monitor is optional. However, if you specify a blank string for body_regex to libcloud, it converts that into a JSON 'bodyRegex': '' value, which the Rackspace LB API does not like. Instead, the value should not be spcified in the JSON. In addition, the JSON that comes back when GETting a load balancer that has an HTTP/HTTPS monitor, but does not have a body regex specified, will not have a bodyRegex JSON, so the value will be converted in libcloud to None, instead of to an empty string.

      Attachments

        1. LIBCLOUD-186.patch
          5 kB
          Bill Woodward

        Activity

          People

            kami Tomaz Muraus
            wpwood Bill Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: