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 63ABF10501 for ; Thu, 5 Sep 2013 10:29:01 +0000 (UTC) Received: (qmail 78703 invoked by uid 500); 5 Sep 2013 10:29:00 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 78622 invoked by uid 500); 5 Sep 2013 10:29:00 -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 78578 invoked by uid 500); 5 Sep 2013 10:28:59 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 78560 invoked by uid 99); 5 Sep 2013 10:28:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 10:28:59 +0000 Date: Thu, 5 Sep 2013 10:28:59 +0000 (UTC) From: "Abhinandan Prateek (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4016) [PortableIP] [VPC] listPublicIpAddresses lists the portable IP that was already transferred to a different ISOLATED network. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4016?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinandan Prateek updated CLOUDSTACK-4016: ------------------------------------------- Fix Version/s: (was: 4.2.0) 4.2.1 =20 > [PortableIP] [VPC] listPublicIpAddresses lists the portable IP that was a= lready transferred to a different ISOLATED network. > -------------------------------------------------------------------------= --------------------------------------------------- > > Key: CLOUDSTACK-4016 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-401= 6 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Components: Management Server > Affects Versions: 4.2.0 > Environment: commit id # 9cd4e089a5798f422961940efbf8ae33ed906b87 > Reporter: venkata swamybabu budumuru > Assignee: Murali Reddy > Priority: Critical > Fix For: 4.2.1 > > Attachments: logs.tgz > > > Steps to reproduce: > 1. Have latest CloudStack with at least 1 advanced zone > 2. Have at least 1 ISOLATED NETWORK and one VPC Tier. Each with at least = 1 VM deployed. > 3. Acquired portable IP and associate to VPC Tier > 4. Enable staticNAT on the above portable IP that maps to the ISOLATED NE= TWORK and to the VM deployed in isolated network. > 5. Go to Network-> VPC (Tier1) -> list public ip address=20 > Observations: > (i) The above fired the following AP with VPC id and it showed the above = portable IP which was transferred to ISOLATED Network. > _=091375374504585 > command=09listPublicIpAddresses > listAll=09true > page=091 > pagesize=0920 > response=09json > sessionkey=09h6Mx8XmDIxmLHaEr3fH7026LeBY=3D > vpcid=09a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5 > { "listpublicipaddressesresponse" : { "count":3 ,"publicipaddress" : [ {= "id":"dde1818b-1125-465c-b9f3-2ea07bd28d6e","ipaddress":"10.147.48.102","al= located":"2013-08-01T21:37:13+0530","zoneid":"73435150-0b47-4753-8d1f-7b27e= 125f02c","zonename":"zone1","issourcenat":false,"account":"dom1Acc1","domai= nid":"0b000776-40b4-41e0-b27f-2f5d3be2b021","domain":"dom1","forvirtualnetw= ork":true,"isstaticnat":true,"issystem":false,"virtualmachineid":"ee706467-= 909c-4f62-a0c4-9b087ae89a89","vmipaddress":"10.0.0.155","virtualmachinename= ":"VM1VPC1Zone1","virtualmachinedisplayname":"VM1VPC1Zone1","associatednetw= orkid":"535d7756-1ba8-4691-ad8e-b2e70e3836b9","associatednetworkname":"Netw= ork1","networkid":"6620535c-62f8-4c94-a270-83dcbc563540","state":"Allocated= ","physicalnetworkid":"ca52283b-9dbc-4499-b4bc-ddeed8254e03","vpcid":"a9b58= 6fa-1ea2-4ba5-ac83-4c4dec7d30d5","tags":[],"isportable":true}, {"id":"2e044= 7dc-1d48-474c-bced-60210436916f","ipaddress":"10.147.48.100","allocated":"2= 013-08-01T21:32:22+0530","zoneid":"73435150-0b47-4753-8d1f-7b27e125f02c","z= onename":"zone1","issourcenat":false,"account":"dom1Acc1","domainid":"0b000= 776-40b4-41e0-b27f-2f5d3be2b021","domain":"dom1","forvirtualnetwork":true,"= isstaticnat":true,"issystem":false,"virtualmachineid":"4cc88676-55ad-4d75-b= 2b5-027389213704","vmipaddress":"10.1.1.223","virtualmachinename":"VM1Zone1= ","virtualmachinedisplayname":"VM1Zone1","associatednetworkid":"e4c03081-1a= bc-4ef4-9dcd-77f72ced9846","associatednetworkname":"IsolatedNet1","networki= d":"6620535c-62f8-4c94-a270-83dcbc563540","state":"Allocated","physicalnetw= orkid":"ca52283b-9dbc-4499-b4bc-ddeed8254e03","vpcid":"a9b586fa-1ea2-4ba5-a= c83-4c4dec7d30d5","tags":[],"isportable":true}, {"id":"d2090e7b-2322-41d6-b= 123-d4cb5e57a3dd","ipaddress":"10.147.44.64","allocated":"2013-08-01T20:50:= 22+0530","zoneid":"73435150-0b47-4753-8d1f-7b27e125f02c","zonename":"zone1"= ,"issourcenat":true,"account":"dom1Acc1","domainid":"0b000776-40b4-41e0-b27= f-2f5d3be2b021","domain":"dom1","forvirtualnetwork":true,"isstaticnat":fals= e,"issystem":false,"networkid":"6620535c-62f8-4c94-a270-83dcbc563540","stat= e":"Allocated","physicalnetworkid":"ca52283b-9dbc-4499-b4bc-ddeed8254e03","= vpcid":"a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5","tags":[],"isportable":false}= ] } } > (ii) Found the cloud.user_ip_address table for the above portable IP stil= l showing the VPC id. Here is the snippet. > mysql> select * from user_ip_address where id=3D24\G > *************************** 1. row *************************** > id: 24 > uuid: 2e0447dc-1d48-474c-bced-60210436916f > account_id: 3 > domain_id: 2 > public_ip_address: 10.147.48.100 > data_center_id: 1 > source_nat: 0 > allocated: 2013-08-01 16:02:22 > vlan_db_id: 12 > one_to_one_nat: 1 > vm_id: 5 > state: Allocated > mac_address: 0 > source_network_id: 200 > network_id: 208 > physical_network_id: 200 > is_system: 0 > vpc_id: 2 > dnat_vmip: 10.1.1.223 > is_portable: 1 > 1 row in set (0.00 sec) > Attaching all the required logs along with db dump to the bug. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira