You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/07/23 09:12:48 UTC

[jira] [Closed] (CLOUDSTACK-1595) [MultipleIpsToNic] removeIpFromNic is failing when secondary ip uuid is passed to the api

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

venkata swamybabu budumuru closed CLOUDSTACK-1595.
--------------------------------------------------


Have verified it on the latest build and latest UI now fires the removeIpFromNic with UUID only and things are going fine now. Closing the issue.

_	1374563431129
command	removeIpFromNic
id	5d07c169-3533-43ad-8b0a-e31e433781a2
response	json
sessionkey	Q181Lp2zuNhGRfutwWP3Jjer0Hg=
                
> [MultipleIpsToNic] removeIpFromNic is failing when secondary ip uuid is passed to the api
> -----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1595
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1595
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.2.0
>         Environment: commit id : 37bab18c68fdb3492429c7d935958d774cb60205
>            Reporter: venkata swamybabu budumuru
>            Assignee: Jayapal Reddy
>             Fix For: 4.2.0
>
>         Attachments: vmops.log.gz
>
>
> Steps to reproduce :
> 1. Have an advanced zone with at least one VM have secondary ips
> 2. try to remove one of the secondary ip using uuid.
> Observations:
> (i) It fails with NPE
> http://localhost:8096/api?command=removeIpFromNic&id=088b5850-91b9-4595-a278-948a840e5516
> 2013-03-08 15:05:10,453 ERROR [cloud.api.ApiServer] (ApiServer-2:null) unhandled exception executing api command: removeIpFromNic
> java.lang.NullPointerException
> 	at com.cloud.api.ApiDispatcher.translateUuidToInternalId(ApiDispatcher.java:351)
> 	at com.cloud.api.ApiDispatcher.setFieldValue(ApiDispatcher.java:469)
> 	at com.cloud.api.ApiDispatcher.processParameters(ApiDispatcher.java:211)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:450)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:347)
> 	at com.cloud.api.ApiServer.handle(ApiServer.java:283)
> 	at org.apache.http.protocol.HttpService.doService(HttpService.java:375)
> 	at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290)
> 	at com.cloud.api.ApiServer$WorkerTask.run(ApiServer.java:956)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:722)
> attaching the vmops.log to bug.

--
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