cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ram Ganesh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5672) [Automation]Failed to add new nic to vm; error "Unable to serialize" observed
Date Mon, 30 Dec 2013 10:28:50 GMT

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

Ram Ganesh updated CLOUDSTACK-5672:
-----------------------------------

    Assignee: Saksham Srivastava

> [Automation]Failed to add new nic to vm;  error "Unable to serialize" observed 
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5672
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5672
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server, Network Controller
>    Affects Versions: 4.3.0
>         Environment: KVM
> branch 4.3
>            Reporter: Rayees Namathponnan
>            Assignee: Saksham Srivastava
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Steps to reproduce 
> Step 1 : Create advanced zone 
> Step 2 : Depoy and vm VM-QA1
> Step 3 : Create new network 
> Step 4 : Add new nic to VM-QA1
> Result 
> Failed to add new nic to the vm, below error observed 
> nstanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd,
cmdInfo: {"response":"json","sessionkey":"ZZ4QXAUZwIPe83MSDipOFbHVpwo\u003d","virtualmachineid":"751ac91a-9a63-4d75-9700-70e269b539a4","cmdEventType":"NIC.CREATE","ctxUserId":"2","httpmethod":"GET","_":"1388332341748","ctxAccountId":"2","networkid":"ac35a773-08d1-4f55-9a57-bf0b78111698","ctxStartEventId":"16101"},
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
29066118877352, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-12-29 07:49:06,291 DEBUG [c.c.u.d.T.Transaction] (Job-Executor-29:ctx-f5b59752 ctx-fbfc6d7f)
Rolling back the transaction: Time = 91 Name =  Job-Executor-29; called by -TransactionLegacy.rollback:896-TransactionLegacy.removeUpTo:839-TransactionLegacy.close:663-Transaction.execute:41-Transaction.execute:46-VirtualMachineManagerImpl.addVmToNetworkThroughJobQueue:4525-VirtualMachineManagerImpl.addVmToNetwork:3112-UserVmManagerImpl.addNicToVirtualMachine:1038-GeneratedMethodAccessor813.invoke:-1-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:616-AopUtils.invokeJoinpointUsingReflection:317
> 2013-12-29 07:49:06,324 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-29:ctx-f5b59752)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Unable to serialize: com.cloud.vm.VmWorkAddVmToNetwork@57ca10b0
>         at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.toObjectSerializedString(JobSerializerHelper.java:118)
>         at com.cloud.vm.VmWorkSerializer.serialize(VmWorkSerializer.java:63)
>         at com.cloud.vm.VirtualMachineManagerImpl$10.doInTransactionWithoutResult(VirtualMachineManagerImpl.java:4554)
>         at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25)
>         at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49)
>         at com.cloud.utils.db.Transaction.execute(Transaction.java:37)
>         at com.cloud.utils.db.Transaction.execute(Transaction.java:46)
>         at com.cloud.vm.VirtualMachineManagerImpl.addVmToNetworkThroughJobQueue(VirtualMachineManagerImpl.java:4525)
>         at com.cloud.vm.VirtualMachineManagerImpl.addVmToNetwork(VirtualMachineManagerImpl.java:3112)
>         at com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:1038)
>         at sun.reflect.GeneratedMethodAccessor813.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
>         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>         at $Proxy169.addNicToVirtualMachine(Unknown Source)
>         at org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd.execute(AddNicToVMCmd.java:110)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
>         at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:522)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: java.io.NotSerializableException: net.sf.cglib.proxy.NoOp$1
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
>         at org.apache.cloudstack.framework.jobs.impl.JobSerializerHelper.toObjectSerializedString(JobSerializerHelper.java:112)
>         ... 39 more
> 2013-12-29 07:49:06,325 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-29:ctx-f5b59752)
Complete async job-3508, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unable
to serialize: com.cloud.vm.VmWorkAddVmToNetwork@57ca10b0"}
> 2013-12-29 07:49:06,347 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-29:ctx-f5b59752)
Done executing org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd for job-3508



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

Mime
View raw message