You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2012/05/13 06:21:08 UTC
[dev] [jira] [Resolved] (LIBCLOUD-186) RackspaceLBDriver sends badly
formatted request when optional body regex not specified on a HTTP/HTTPS
health monitor
[ https://issues.apache.org/jira/browse/LIBCLOUD-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus resolved LIBCLOUD-186.
-----------------------------------
Resolution: Fixed
> 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
> Attachments: LIBCLOUD-186.patch
>
>
> 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