RackspaceLBDriver sends badly formatted request when optional body regex not
specified on a HTTP/HTTPS health monitor
---------------------------------------------------------------------------------------------------------------------
Key: LIBCLOUD-186
URL: https://issues.apache.org/jira/browse/LIBCLOUD-186
Project: Libcloud
Issue Type: Bug
Components: Core
Affects Versions: 0.9.1
Reporter: Bill Woodward
Priority: Minor
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira