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 0E77610A6C for ; Mon, 6 Jan 2014 12:59:58 +0000 (UTC) Received: (qmail 15524 invoked by uid 500); 6 Jan 2014 12:59:55 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 15511 invoked by uid 500); 6 Jan 2014 12:59:53 -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 15504 invoked by uid 500); 6 Jan 2014 12:59:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 15499 invoked by uid 99); 6 Jan 2014 12:59:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 12:59:52 +0000 Date: Mon, 6 Jan 2014 12:59:51 +0000 (UTC) From: "Sanjeev N (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-5340) [Hyper-V] Control IPs are not getting released when VRs are in stopped state 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-5340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sanjeev N closed CLOUDSTACK-5340. --------------------------------- Verified on the latest build from 4.3branch with commit:6f309b8a87d3376950a60234d399c6e3749ad1c7 Works fine. > [Hyper-V] Control IPs are not getting released when VRs are in stopped state > ---------------------------------------------------------------------------- > > Key: CLOUDSTACK-5340 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5340 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Hypervisor Controller, Management Server, Network Controller > Affects Versions: 4.3.0 > Environment: Latest build from 4.3 > Reporter: Sanjeev N > Assignee: Rajesh Battala > Priority: Blocker > Labels: Hyper-V > Fix For: 4.3.0 > > Attachments: management-server.log.2013-12-02.gz > > > [Hyper-V] Control IPs are not getting released when VRs are in stopped state > Steps to Reproduce: > ================= > 1.Bring up Advanced zone with Hyperv using latest 4.3 build > 2.Implement network and make sure Vr is in running state > 3.Stop,start VR multiple times. > Expected Result: > ============== > Each time VR is stopped, control IP should be released to the pool and when the VR is started again it should get one ip address from the pool. > Actual Result: > =========== > When the VR is stopped, control IP is not getting released to the pool. It remains in the reserved state. > Currently in the setup there are only 5 system vms (SSVM,CPVM,3VRs) are there. So in total there should be only 6 controls IPs in reserved state.However op_dc_ip_address_alloc tables shows only one IP in free state out of 10 Pod Ip addresses. > mysql> select * from op_dc_ip_address_alloc; > +----+---------------+----------------+--------+--------+--------------------------------------+---------------------+-------------+ > | id | ip_address | data_center_id | pod_id | nic_id | reservation_id | taken | mac_address | > +----+---------------+----------------+--------+--------+--------------------------------------+---------------------+-------------+ > | 1 | 10.147.40.231 | 1 | 1 | 7 | 2709a8d9-71af-4c9b-9139-75e47aad6c76 | 2013-12-02 10:38:36 | 1 | > | 2 | 10.147.40.232 | 1 | 1 | NULL | NULL | NULL | 2 | > | 3 | 10.147.40.233 | 1 | 1 | 15 | 2f25a307-9b87-44ae-a6a0-0f97dceada4b | 2013-12-02 10:38:37 | 3 | > | 4 | 10.147.40.234 | 1 | 1 | 23 | 1a1d5501-5e94-46b0-a770-af6277715f74 | 2013-12-02 17:15:05 | 4 | > | 5 | 10.147.40.235 | 1 | 1 | 18 | 02e7a340-d1f3-46ab-adb9-dd91c3549d30 | 2013-12-02 15:44:13 | 5 | > | 6 | 10.147.40.236 | 1 | 1 | 28 | 762014f4-fcd8-41d9-906c-1b05dbf07df7 | 2013-12-02 17:54:00 | 6 | > | 7 | 10.147.40.237 | 1 | 1 | 18 | ced340b8-a34e-43fe-829e-7b790e380387 | 2013-12-02 15:25:37 | 7 | > | 8 | 10.147.40.238 | 1 | 1 | 14 | 2f25a307-9b87-44ae-a6a0-0f97dceada4b | 2013-12-02 10:38:36 | 8 | > | 9 | 10.147.40.239 | 1 | 1 | 23 | c2e2d7b1-4b4f-48da-b9ba-a8e64255711b | 2013-12-02 17:36:45 | 9 | > | 10 | 10.147.40.240 | 1 | 1 | 18 | cb036c69-1721-4d13-b61d-42b6f2e7a76c | 2013-12-02 17:50:20 | 10 | > +----+---------------+----------------+--------+--------+--------------------------------------+---------------------+-------------+ > 10 rows in set (0.00 sec) > mysql> select id,name,state from vm_instance where removed is null and vm_type!='User'; > +----+---------+----------+ > | id | name | state | > +----+---------+----------+ > | 2 | v-2-VM | Running | > | 4 | s-4-VM | Running | > | 6 | r-6-VM | Stopped | > | 9 | r-9-VM | Stopped | > | 11 | r-11-VM | Starting | > +----+---------+----------+ > 5 rows in set (0.00 sec) > Attaching management server log file with this. -- This message was sent by Atlassian JIRA (v6.1.5#6160)