[ https://issues.apache.org/jira/browse/CLOUDSTACK-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
manasaveloori reassigned CLOUDSTACK-6482: ----------------------------------------- Assignee: Jayapal Reddy > [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 > Assignee: Jayapal Reddy > 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)