You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "manasaveloori (JIRA)" <ji...@apache.org> on 2014/04/24 07:51:16 UTC
[jira] [Commented] (CLOUDSTACK-6482) [API-LoadBalancing]Passing
invalid vm name and vmip to assignToLoadBalancerRule API is not giving
proper error message in response.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979324#comment-13979324 ]
manasaveloori commented on CLOUDSTACK-6482:
-------------------------------------------
proper error message is not displayed if already assigned ip is passed in vmidipmap using API.
> [API-LoadBalancing]Passing invalid vm name and vmip to assignToLoadBalancerRule API is not giving proper error message in response.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6482
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6482
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API
> Affects Versions: 4.4.0
> Reporter: manasaveloori
> Fix For: 4.4.0
>
>
> 1. Configure the LB rule.
> 2. Assign a VM to the LB rule by providing invalid VM name or invalid VMid.
> API:
> http://10.147.59.222:8096/client/api?command=assignToLoadBalancerRule&id=3&vmidipmap[0].vmid=e59de8ab-7ed5-4432-8838-ac600323dd&vmidipmap[0].vmip=10.1.....1.247
> Response:
> <assigntoloadbalancerruleresponse cloud-stack-version="4.4.0-SNAPSHOT">
> <jobid>683e99a1-8ce2-47be-93f6-a11e18685910</jobid>
> </assigntoloadbalancerruleresponse>
> Observation:
> API does not proper error message to user.
> In MS logs able to proper message:
> com.cloud.exception.InvalidParameterValueException: Invalid ip address 10.1.1..9 passed in vmidipmap for vmid e59de8ab-7ed5-4432-8838-ac64600323dd
--
This message was sent by Atlassian JIRA
(v6.2#6252)