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 AB2E7104E7 for ; Wed, 18 Dec 2013 09:36:57 +0000 (UTC) Received: (qmail 31330 invoked by uid 500); 18 Dec 2013 09:36:39 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31227 invoked by uid 500); 18 Dec 2013 09:36:37 -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 31041 invoked by uid 500); 18 Dec 2013 09:36:27 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 30435 invoked by uid 99); 18 Dec 2013 09:36:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Dec 2013 09:36:12 +0000 Date: Wed, 18 Dec 2013 09:36:12 +0000 (UTC) From: "Jayapal Reddy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-5466) removeIpFromNic not working properly 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-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayapal Reddy updated CLOUDSTACK-5466: -------------------------------------- Fix Version/s: 4.3.0 > removeIpFromNic not working properly > ------------------------------------ > > Key: CLOUDSTACK-5466 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5466 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: API > Affects Versions: 4.2.0 > Reporter: David Matteson > Assignee: Jayapal Reddy > Fix For: 4.3.0 > > > When adding a secondary IP to a NIC via addIpToNic it works properly, but when trying to remove it with removeIpFromNic it returns success, and the IP no longer shows up on the NIC but the IP is not freed up properly either. > In order to finish freeing up the IP, you have to go into the database and manually set: > user_ip_address.state = Free > user_ip_address.account_id = NULL > user_ip_address.domain_id = NULL > user_ip_address.allocated = NULL > These should all be done by the removeIpFromNic command I would think, but the aren't. This makes the addIp/removeIp functionality unusable, unfortunately. -- This message was sent by Atlassian JIRA (v6.1.4#6159)