You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jayapal Reddy (JIRA)" <ji...@apache.org> on 2014/01/02 12:17:50 UTC

[jira] [Created] (CLOUDSTACK-5715) Creating private gateway giving 'Unable to serialize' error

Jayapal Reddy created CLOUDSTACK-5715:
-----------------------------------------

             Summary: Creating private gateway giving 'Unable to serialize' error
                 Key: CLOUDSTACK-5715
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5715
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.3.0
            Reporter: Jayapal Reddy


1. Created VPC.
2. Creating private gateway in the VPC.
3. Observed the below  error.
4. In the same VPC vm got deployed successfully.

014-01-02 16:34:18,044 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (279776273@qtp-1396125647-17:ctx-7d9ae2fa ctx-2e9427ef) submit async job-153, details: AsyncJobVO {id:153, userId: 2, accountId: 2,        instanceType: PrivateGateway, instanceId: 1, cmd: org.apache.cloudstack.api.command.admin.vpc.CreatePrivateGatewayCmd, cmdInfo: {"physicalnetworkid":"1d0afe0b-a51e-4261-880d-9734cea25169","sessi       onkey":"l0SKFGXAOKRI0PshHyMmVAR47Kg\u003d","cmdEventType":"PRIVATE.GATEWAY.CREATE","sourcenatsupported":"false","ctxUserId":"2","gateway":"10.147.43.1","httpmethod":"GET","ipaddress":"10.147.43.1       00","netmask":"255.255.255.0","response":"json","id":"1","aclid":"236a5d3e-7392-11e3-b360-a552ac66fcbb","vlan":"43","_":"1388660657895","ctxAccountId":"2","vpcid":"828d3a23-e969-44f7-b16d-38a0fce       82b3d","ctxStartEventId":"52"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 1, completeMsid: null, lastUpdated: null, lastPolled: null, created: n       ull}
313425 2014-01-02 16:34:18,044 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-106:ctx-0019a244) Add job-153 into job monitoring
313426 2014-01-02 16:34:18,044 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-106:ctx-0019a244) Executing AsyncJobVO {id:153, userId: 2, accountId: 2, instanceType: PrivateGateway, instanceId: 1,        cmd: org.apache.cloudstack.api.command.admin.vpc.CreatePrivateGatewayCmd, cmdInfo: {"physicalnetworkid":"1d0afe0b-a51e-4261-880d-9734cea25169","sessionkey":"l0SKFGXAOKRI0PshHyMmVAR47Kg\u003d","c       mdEventType":"PRIVATE.GATEWAY.CREATE","sourcenatsupported":"false","ctxUserId":"2","gateway":"10.147.43.1","httpmethod":"GET","ipaddress":"10.147.43.100","netmask":"255.255.255.0","response":"jso       n","id":"1","aclid":"236a5d3e-7392-11e3-b360-a552ac66fcbb","vlan":"43","_":"1388660657895","ctxAccountId":"2","vpcid":"828d3a23-e969-44f7-b16d-38a0fce82b3d","ctxStartEventId":"52"}, cmdVersion: 0       , status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 1, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
313427 2014-01-02 16:34:18,045 DEBUG [c.c.a.ApiServlet] (279776273@qtp-1396125647-17:ctx-7d9ae2fa ctx-2e9427ef) ===END===  10.252.193.7 -- GET  command=createPrivateGateway&sourcenatsupported=false&resp       onse=json&sessionkey=l0SKFGXAOKRI0PshHyMmVAR47Kg%3D&physicalnetworkid=1d0afe0b-a51e-4261-880d-9734cea25169&vpcid=828d3a23-e969-44f7-b16d-38a0fce82b3d&ipaddress=10.147.43.100&gateway=10.147.43.1&n       etmask=255.255.255.0&vlan=43&aclid=236a5d3e-7392-11e3-b360-a552ac66fcbb&_=1388660657895
313428 2014-01-02 16:34:18,109 DEBUG [c.c.u.d.T.Transaction] (Job-Executor-106:ctx-0019a244 ctx-2e9427ef) Rolling back the transaction: Time = 25 Name =  Job-Executor-106; called by -TransactionLegacy.r       ollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:41-Transaction.execute:46-VirtualMachineManagerImpl.addVmToNetworkThroughJobQueue:4530-VirtualMachineM       anagerImpl.addVmToNetwork:3118-VpcVirtualNetworkApplianceManagerImpl.setupPrivateGateway:918-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:39-DelegatingMethodAccessorImpl.in       voke:25-Method.invoke:597
313429 2014-01-02 16:34:18,110 WARN  [c.c.n.r.VpcVirtualNetworkApplianceManagerImpl] (Job-Executor-106:ctx-0019a244 ctx-2e9427ef) Failed to create private gateway com.cloud.network.vpc.PrivateGatewayPro       file@74f4b7b3 on router VM[DomainRouter|r-3-VM] due to
313430 com.cloud.utils.exception.CloudRuntimeException: Unable to serialize: com.cloud.vm.VmWorkAddVmToNetwork@5933adb8
313431         at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.toObjectSerializedString(JobSerializerHelper.java:118)
313432         at com.cloud.vm.VmWorkSerializer.serialize(VmWorkSerializer.java:63)
313433         at com.cloud.vm.VirtualMachineManagerImpl$10.doInTransactionWithoutResult(VirtualMachineManagerImpl.java:4559)
313434         at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
313435         at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
313436         at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
313437         at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
313438         at com.cloud.vm.VirtualMachineManagerImpl.addVmToNetworkThroughJobQueue(VirtualMachineManagerImpl.java:4530)
313439         at com.cloud.vm.VirtualMachineManagerImpl.addVmToNetwork(VirtualMachineManagerImpl.java:3118)
313440         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.setupPrivateGateway(VpcVirtualNetworkApplianceManagerImpl.java:918)
313441         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
313442         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
313443         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
313444         at java.lang.reflect.Method.invoke(Method.java:597)
313445         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
313446         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)