Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 838B6200828 for ; Fri, 13 May 2016 09:49:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 824FC16099F; Fri, 13 May 2016 07:49:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A49E11602C0 for ; Fri, 13 May 2016 09:49:17 +0200 (CEST) Received: (qmail 70080 invoked by uid 500); 13 May 2016 07:49:16 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 70046 invoked by uid 99); 13 May 2016 07:49:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2016 07:49:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A43D918059B for ; Fri, 13 May 2016 07:49:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OSyM1puSRHnz for ; Fri, 13 May 2016 07:49:12 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 5BDA95FAE8 for ; Fri, 13 May 2016 07:49:11 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id j8so83863964lfd.2 for ; Fri, 13 May 2016 00:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=Dlv3NEtJUOLj0Z8NG5l7bf0aUTGs3OHvDAKF6gVlHtg=; b=g0aPJI0nwxKLNHIILekKpIleKcdSNX4o+XFJ9z/QZKXQE6Zch5+lYobNwXd0fFt/um 1xPINb37jV4WhH6u0jYlJRFmLofFSUHLBkSwH9R/A9KP+MvEBiFQ5ystyLgn1MlA3EwG tGGb9XgKaDBpr2NPRmkIiGwHXJee20/w0BC0azyXki4aRkN+HobicLgvF+LlSO8skRpV 23JZhGiwNsWmNgTiVxFj5wwnOPfuvas6FcIpP1p8Ij3F5nsdmCAbub7jOTZ9bFfnCzTb +5tw3ENVnOh1dwHf447F7twATKsqZDjPXVJm5jUXWT3YNGB154PckS/Rv7Nap6dUqc6b wtYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=Dlv3NEtJUOLj0Z8NG5l7bf0aUTGs3OHvDAKF6gVlHtg=; b=WqaJ0OlZKPvcnV7j3rMiJheSXnf0rqc5G3PGL2b++oHNQlFDaZ9sPT490ThYn8+YWM ktpqyYGcPrDNzB/2IoPAW/8tJmhsIlfN/hlWAhbJdr0jzTE23sieifQ3BZlYTvHxUlyE wzPl2fJMze/EJgqNKKjpkvHH97G5PbSD73rH6jvlVXJhieN+GZmrmjNwQZZGiaYZulBX vnADoCwI0j1kL3kMmNNlhByoMOH/yjF7Tw5egDBDkyWKUp6k9sCIOWbnpazCnV6fzvbN yUnbsN+eG+goQl3dzPDdP44Foy8gj8QoVxF/7tJ6YaoSew7sVXNFx/vcyUdYVqzTkBFf 7Mdg== X-Gm-Message-State: AOPr4FUGlULFYvpTkgx+uRqhN7wGi56z6fAQPe7QZ7q30lA+uY3+24Dd5dq5shPUM5CpZYfAdWTl6TYuZb7rJg== MIME-Version: 1.0 X-Received: by 10.25.205.14 with SMTP id d14mr6013372lfg.135.1463125745054; Fri, 13 May 2016 00:49:05 -0700 (PDT) Received: by 10.25.142.77 with HTTP; Fri, 13 May 2016 00:49:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 May 2016 10:49:04 +0300 Message-ID: Subject: Re: Problem Releasing of Previously Allocated IP Address From: =?UTF-8?Q?=C3=96zhan_R=C3=BCzgar_Karaman?= To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a114123d04bc3b50532b48290 archived-at: Fri, 13 May 2016 07:49:18 -0000 --001a114123d04bc3b50532b48290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Sanjeev; If i mark that ip state to Null, what will happen for defaultDns":"x.x.x.5 entry in com.cloud.agent.api.routing.DhcpEntryCommand ? Do you know where Router VM DhcpEntryCommand gets its defaultDns value? Thanks =C3=96zhan On Fri, May 13, 2016 at 10:10 AM, Sanjeev Neelarapu < sanjeev.neelarapu@accelerite.com> wrote: > You can file a bug for it. Router vm should not get different IP in share= d > network. One way is to DB hack. Mark the allocated state to null in > user_ip_address table for the IPs which are not in use. > > Best Regards, > Sanjeev N > Chief Product Engineer, Accelerite > Off: +91 40 6722 9368 | EMail: sanjeev.neelarapu@accelerite.com > > > > -----Original Message----- > From: =C3=96zhan R=C3=BCzgar Karaman [mailto:oruzgarkaraman@gmail.com] > Sent: Friday, May 13, 2016 12:13 PM > To: users@cloudstack.apache.org > Subject: Re: Problem Releasing of Previously Allocated IP Address > > Hi; > But in my situation router vm gets different ip address after i destroyed > it. I could not delete that C class network there are some active vm's on > that network. > > Thanks > =C3=96zhan > > On Thu, May 12, 2016 at 5:21 PM, Sanjeev Neelarapu < > sanjeev.neelarapu@accelerite.com> wrote: > > > Router vm gets the same ip address even after destroying and > > recreating it. Since CS does not have a mechanism to notify the router > > vm after for existing guest vms it won't change the IP address. ASAIK > > the IP will be released only after deleting that network. > > > > Best Regards, > > Sanjeev N > > Chief Product Engineer, Accelerite > > Off: +91 40 6722 9368 | EMail: sanjeev.neelarapu@accelerite.com > > > > > > -----Original Message----- > > From: =C3=96zhan R=C3=BCzgar Karaman [mailto:oruzgarkaraman@gmail.com] > > Sent: Wednesday, May 11, 2016 8:35 PM > > To: users@cloudstack.apache.org > > Subject: Problem Releasing of Previously Allocated IP Address > > > > Hi; > > I have setup of advanced networking with security groups enabled. > > Yesterday i destroyed and restarted router-vm and after that i noticed > > that from the CloudStack dashboard on Shared Network IP's there is one > > more extra ip address allocated then its expected. > > > > I checked mysql db (select * from user_ip_address where > > state=3D"Allocated";) to see which ip addresses are allocated and i > > noticed that there is an ip address like x.x.x.5 is allocated but its > > not used by any vm or systemvm's. > > > > After that i check management server log and i noticed that this ip is > > high probably router vm's previous ip address. Because on management > > server log i noticed lines like below: > > > > 2016-05-11 16:54:54,374 DEBUG [c.c.a.t.Request] > > (Work-Job-Executor-116:ctx-19aae9a4 job-1302/job-1303 ctx-eb95bef0) > > (logid:7f64e204) Seq 10-1563030545674275235: Sending { Cmd , MgmtId: > > 345050167520, via: 10(kvma16), Ver: v1, Flags: 100011, > > > [{"com.cloud.agent.api.routing.DhcpEntryCommand":{"vmMac":"06:49:d6:00:00= :03","vmIpAddress":"x.x.x.4","vmName":"win10CreateTemp444","defaultRouter":= "x.x.x.1","defaultDns":"x.x.x.5","duid":"00:00:00:00:00:00:xx:00:00:03","is= Default":true,"executeInSequence":false,"accessDetails":{"zone.network.type= ":"Advanced","router.guest.ip":"x.x.x.15","router.ip":"169.254.3.100"," > > router.name":"r-91-VM"},"wait":0}}] } > > > > So the suspicious ip address is written in "defaultDns":"x.x.x.5" > > field and its not correct. I am not currently using dhcp addresses > > which CloudStack provides but 1 of my ip addresses are gone :) > > > > So why this could happen is this be a bug? > > > > I also checked logs that defaultDns entry is sometimes correct > > routervm > > ip(x.x.x.15) and sometimes old router vm's ip (x.x.x.5). > > > > Thanks > > =C3=96zhan R=C3=BCzgar Karaman > > > > > > > > DISCLAIMER > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > This e-mail may contain privileged and confidential information which > > is the property of Accelerite, a Persistent Systems business. It is > > intended only for the use of the individual or entity to which it is > > addressed. If you are not the intended recipient, you are not > > authorized to read, retain, copy, print, distribute or use this > > message. If you have received this communication in error, please > > notify the sender and delete all copies of this message. Accelerite, a > > Persistent Systems business does not accept any liability for virus > infected mails. > > > > > > DISCLAIMER > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e-mail may contain privileged and confidential information which is > the property of Accelerite, a Persistent Systems business. It is intended > only for the use of the individual or entity to which it is addressed. If > you are not the intended recipient, you are not authorized to read, retai= n, > copy, print, distribute or use this message. If you have received this > communication in error, please notify the sender and delete all copies of > this message. Accelerite, a Persistent Systems business does not accept a= ny > liability for virus infected mails. > --001a114123d04bc3b50532b48290--