Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DDD8C3D6 for ; Tue, 23 Jul 2013 07:12:50 +0000 (UTC) Received: (qmail 56265 invoked by uid 500); 23 Jul 2013 07:12:49 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 56230 invoked by uid 500); 23 Jul 2013 07:12:49 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 56216 invoked by uid 500); 23 Jul 2013 07:12:49 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 56209 invoked by uid 99); 23 Jul 2013 07:12:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 07:12:48 +0000 Date: Tue, 23 Jul 2013 07:12:48 +0000 (UTC) From: "venkata swamybabu budumuru (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-1595) [MultipleIpsToNic] removeIpFromNic is failing when secondary ip uuid is passed to the api MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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