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

venkata swamybabu budumuru closed CLOUDSTACK-3442.
--------------------------------------------------


This is working fine with the latest build. closing this issue. 

Below is the snippet from mgmt server logs.


2013-08-01 20:52:13,557 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) 
===START===  10.104.255.13 -- GET  
command=associateIpAddress&response=json&sessionkey=h6Mx8XmDIxmLHaEr3fH7026LeBY%3D&isportable=true&vpcid=a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5&_=1375370542793
2013-08-01 20:52:13,569 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-16:null) Access to Acct[3-dom1Acc1] granted to Acct[3-dom1Acc1] 
by DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,579 DEBUG [cloud.user.AccountManagerImpl] 
(catalina-exec-16:null) Access to Acct[3-dom1Acc1] granted to Acct[3-dom1Acc1] 
by DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,634 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-16:null) submit async job-59 = [ 
8263d1a6-d687-4ee0-b397-c535a2867ef8 ], details: AsyncJobVO {id:59, userId: 3, 
accountId: 3, sessionKey: null, instanceType: IpAddress, instanceId: 23, cmd: 
org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd, 
cmdOriginator: null, cmdInfo: 
{"id":"23","response":"json","sessionkey":"h6Mx8XmDIxmLHaEr3fH7026LeBY\u003d","cmdEventType":"PORTABLE.IPASSIGN","ctxUserId":"3","httpmethod":"GET","_":"1375370542793","ctxAccountId":"3","vpcid":"a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5","ctxStartEventId":"237","isportable":"true"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 7280707764394, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-08-01 20:52:13,637 DEBUG [cloud.api.ApiServlet] (catalina-exec-16:null) 
===END===  10.104.255.13 -- GET  
command=associateIpAddress&response=json&sessionkey=h6Mx8XmDIxmLHaEr3fH7026LeBY%3D&isportable=true&vpcid=a9b586fa-1ea2-4ba5-ac83-4c4dec7d30d5&_=1375370542793
2013-08-01 20:52:13,640 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Executing 
org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd for job-59 = 
[ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]
2013-08-01 20:52:13,650 DEBUG [cloud.user.AccountManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Access to 
Acct[3-dom1Acc1] granted to Acct[3-dom1Acc1] by 
DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,673 DEBUG [cloud.user.AccountManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Access to 
Ip[10.147.48.102-1] granted to Acct[3-dom1Acc1] by 
DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,680 DEBUG [cloud.user.AccountManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Access to 
Acct[3-dom1Acc1] granted to Acct[3-dom1Acc1] by 
DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,682 DEBUG [cloud.user.AccountManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Access to 
[VPC [2-VPC1Zone1] granted to Acct[3-dom1Acc1] by 
DomainChecker_EnhancerByCloudStack_d17a7327
2013-08-01 20:52:13,685 DEBUG [network.vpc.VpcManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Associating 
ip Ip[10.147.48.102-1] to vpc [VPC [2-VPC1Zone1]
2013-08-01 20:52:13,696 DEBUG [network.vpc.VpcManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) 
Successfully assigned ip Ip[10.147.48.102-1] to vpc [VPC [2-VPC1Zone1]
2013-08-01 20:52:13,718 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Complete 
async job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ], jobStatus: 1, 
resultCode: 0, result: 
org.apache.cloudstack.api.response.IPAddressResponse@4817fe36
2013-08-01 20:52:13,725 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-66:job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]) Done 
executing org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd for 
job-59 = [ 8263d1a6-d687-4ee0-b397-c535a2867ef8 ]
2013-08-01 20:52:15,629 DEBUG [agent.manager.AgentManagerImpl] 
(AgentManager-Handler-15:null) Ping from 2

                
> [PortableIP] [VPC] Unable to associate Portable IP to VPC
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-3442
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3442
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: commit # 67cab313c969e5f488d6c0f92f9ec058288a96a0
>            Reporter: venkata swamybabu budumuru
>            Assignee: Murali Reddy
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: logs.tgz
>
>
> Step to reproduce:
> 1. Have latest CloudStack setup with at least 2 advanced zones (Zone1, Zone2)
> 2. Create a VPC in one of the zone (Zone2)
> 3. Create at least 1 Tier in the above created VPC
> 4. Go to Networks -> VPC -> Select the VPC -> configure -> Click on Router 
> Public IP addresses -> Click on Acquire Ip address with Cross Zones field set 
> to "True"
> Observations:
> (i) It fails with the following error
> "Invalid vpc id is given"
> (ii) Here is the snippet of the API that was fired. It has passed the right 
> VPC id as part of the API but, still it fails with invalid VPC
> _     1373453133948
> command       associateIpAddress
> isportable    true
> response      json
> sessionkey    axe5sk7ndLU5RJDa1Sr7nFfi1GE=
> vpcid e57e61ed-7797-4436-a658-5a480a79f340
> { "associateipaddressresponse" : 
> {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Invalid vpc id 
> is given"} }
> (iii) Here is the snippet from cloud.vpc
> *************************** 2. row ***************************
>               id: 2
>             uuid: e57e61ed-7797-4436-a658-5a480a79f340
>             name: Zone2VPC2
>     display_text: Zone2VPC2
>             cidr: 10.0.0.0/16
>  vpc_offering_id: 1
>          zone_id: 2
>            state: Enabled
>        domain_id: 2
>       account_id: 9
>   network_domain: cs9swamy.xen
>          removed: NULL
>          created: 2013-07-10 15:25:01
> restart_required: 0
> Attaching all the required logs along with db

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to