[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Murali Reddy updated CLOUDSTACK-4016:
-------------------------------------
    Assignee:     (was: Murali Reddy)

> [PortableIP] [VPC] listPublicIpAddresses lists the portable IP that was 
> already transferred to a different ISOLATED network.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4016
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4016
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: commit id # 9cd4e089a5798f422961940efbf8ae33ed906b87
>            Reporter: venkata swamybabu budumuru
>             Fix For: Future
>
>         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 
> NETWORK and to the VM deployed in isolated network.
> 5. Go to Network-> VPC (Tier1) -> list public ip address 
> Observations:
> (i) The above fired the following AP with VPC id and it showed the above 
> portable IP which was transferred to ISOLATED Network.
> _     1375374504585
> command       listPublicIpAddresses
> listAll       true
> page  1
> pagesize      20
> response      json
> sessionkey    h6Mx8XmDIxmLHaEr3fH7026LeBY=
> vpcid a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5
> { "listpublicipaddressesresponse" : { "count":3 ,"publicipaddress" : [  
> {"id":"dde1818b-1125-465c-b9f3-2ea07bd28d6e","ipaddress":"10.147.48.102","allocated":"2013-08-01T21:37:13+0530","zoneid":"73435150-0b47-4753-8d1f-7b27e125f02c","zonename":"zone1","issourcenat":false,"account":"dom1Acc1","domainid":"0b000776-40b4-41e0-b27f-2f5d3be2b021","domain":"dom1","forvirtualnetwork":true,"isstaticnat":true,"issystem":false,"virtualmachineid":"ee706467-909c-4f62-a0c4-9b087ae89a89","vmipaddress":"10.0.0.155","virtualmachinename":"VM1VPC1Zone1","virtualmachinedisplayname":"VM1VPC1Zone1","associatednetworkid":"535d7756-1ba8-4691-ad8e-b2e70e3836b9","associatednetworkname":"Network1","networkid":"6620535c-62f8-4c94-a270-83dcbc563540","state":"Allocated","physicalnetworkid":"ca52283b-9dbc-4499-b4bc-ddeed8254e03","vpcid":"a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5","tags":[],"isportable":true},
>  
> {"id":"2e0447dc-1d48-474c-bced-60210436916f","ipaddress":"10.147.48.100","allocated":"2013-08-01T21:32:22+0530","zoneid":"73435150-0b47-4753-8d1f-7b27e125f02c","zonename":"zone1","issourcenat":false,"account":"dom1Acc1","domainid":"0b000776-40b4-41e0-b27f-2f5d3be2b021","domain":"dom1","forvirtualnetwork":true,"isstaticnat":true,"issystem":false,"virtualmachineid":"4cc88676-55ad-4d75-b2b5-027389213704","vmipaddress":"10.1.1.223","virtualmachinename":"VM1Zone1","virtualmachinedisplayname":"VM1Zone1","associatednetworkid":"e4c03081-1abc-4ef4-9dcd-77f72ced9846","associatednetworkname":"IsolatedNet1","networkid":"6620535c-62f8-4c94-a270-83dcbc563540","state":"Allocated","physicalnetworkid":"ca52283b-9dbc-4499-b4bc-ddeed8254e03","vpcid":"a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5","tags":[],"isportable":true},
>  
> {"id":"d2090e7b-2322-41d6-b123-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-b27f-2f5d3be2b021","domain":"dom1","forvirtualnetwork":true,"isstaticnat":false,"issystem":false,"networkid":"6620535c-62f8-4c94-a270-83dcbc563540","state":"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 still 
> showing the VPC id. Here is the snippet.
> mysql> select * from user_ip_address where id=24\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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to