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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.10.1
    • Component/s: Core
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development