[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Federle reassigned CLOUDSTACK-1741:
-----------------------------------------

    Assignee: Jayapal Reddy  (was: Brian Federle)

Jayapal,

The issue seems to be because the newly-acquired IP address's ID isn't returned 
in the response on creation. Please return the IP id in the jobresult, and this 
bug should be fixed.

http://localhost:8080/client/api?command=addIpToNic&response=json&sessionkey=FonwT%2Fv4MIaW89UYd8pGhkW6DAQ%3D&nicId=518cb3d6-a467-4581-af9d-27a253d1349d&_=1363805317989

{ "queryasyncjobresultresponse" : 
{"accountid":"bc47a5b2-9188-11e2-8a79-6629d4a0e089","userid":"bc47c21a-9188-11e2-8a79-6629d4a0e089","cmd":"org.apache.cloudstack.api.command.user.vm.AddIpToVmNicCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"nicsecondaryip":{"ipaddress":"10.1.1.219","nicid":"518cb3d6-a467-4581-af9d-27a253d1349d","networkid":"91a711cb-0b01-4fd1-b361-816a0ffac6ea"}},"created":"2013-03-20T11:48:32-0700","jobid":"bf5b7640-6bb9-458f-8fac-1294774142f2"}
 }
                
> [UI] [Multiple IPs Per Nic] Failed to removeIpFromNic
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-1741
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1741
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: commit d7f9aa637ebc953928e3d601735bc01f6fcff828
> - advanced zone with xen cluster
>            Reporter: venkata swamybabu budumuru
>            Assignee: Jayapal Reddy
>            Priority: Minor
>             Fix For: 4.2.0
>
>         Attachments: removeIpFromNic.JPG
>
>
> 1. Deploy a VM in the advanced zone.
> 2. Go to -> VM -> Nics -> View All -> Acquire IP Address 
> 3. immediately try to "release IP" from the page
> Observations :
> (i) it fails with following error
> "Unable to execute API command removeipfromnic due to missing parameter id" 
> http://10.147.59.194:8080/client/api?command=removeIpFromNic&response=json&sessionkey=4d21Su8PKELs0MAQVzt4OYQw6YY%3D&_=1363779019266
> 431 431
>               11ms    
> jquery.js (line 7829)
> ParamsHeadersResponseJSONCookies
> _     1363779019266
> command       removeIpFromNic
> response      json
> sessionkey    4d21Su8PKELs0MAQVzt4OYQw6YY=
> (ii) If we go back to the VM and open Nics -> view all  and then try to 
> releaseIP then things go fine without any issues.
> attaching the screen shot of the error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to