You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Bhavin (JIRA)" <ji...@apache.org> on 2016/11/08 21:44:58 UTC

[jira] [Updated] (CLOUDSTACK-9581) Error in logs while concurrently creating 100 vms

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

Bhavin updated CLOUDSTACK-9581:
-------------------------------
    Description: 
This is a generic issue where we used Nuage as a Service provider 
Error in logs while concurrently creating 100 vms. 
To remove the error we need to update db parameters my.cnf to this to work

steps to reproduce
1. create 1 isolated networks, create 100 vms in the network

expected results:
it should not throw exception and all vms should be created
actual results:
it throws unexpected exception and some vms dont start. It is in shutdown state in VMware

{noformat}
0-18 16:18:40,866 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-56:ctx-c49c0b6b job-756) (logid:94f12c66) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin
javax.persistence.EntityExistsException: Entity already exists:
        at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1436)
        at org.apache.cloudstack.framework.jobs.dao.AsyncJobJoinMapDaoImpl.joinJob(AsyncJobJoinMapDaoImpl.java:94)
        at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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 com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        
{noformat}

  was:
Error in logs while concurrently creating 100 vms. 
To remove the error we need to update db parameters my.cnf to this to work

steps to reproduce
1. create 1 isolated networks, create 100 vms in the network

expected results:
it should not throw exception and all vms should be created
actual results:
it throws unexpected exception and some vms dont start. It is in shutdown state in VMware

{noformat}
0-18 16:18:40,866 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-56:ctx-c49c0b6b job-756) (logid:94f12c66) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin
javax.persistence.EntityExistsException: Entity already exists:
        at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1436)
        at org.apache.cloudstack.framework.jobs.dao.AsyncJobJoinMapDaoImpl.joinJob(AsyncJobJoinMapDaoImpl.java:94)
        at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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 com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        
{noformat}


> Error in logs while concurrently creating 100 vms
> -------------------------------------------------
>
>                 Key: CLOUDSTACK-9581
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9581
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>         Environment: esx-5.5
>            Reporter: Bhavin
>              Labels: controller, management, network, server
>
> This is a generic issue where we used Nuage as a Service provider 
> Error in logs while concurrently creating 100 vms. 
> To remove the error we need to update db parameters my.cnf to this to work
> steps to reproduce
> 1. create 1 isolated networks, create 100 vms in the network
> expected results:
> it should not throw exception and all vms should be created
> actual results:
> it throws unexpected exception and some vms dont start. It is in shutdown state in VMware
> {noformat}
> 0-18 16:18:40,866 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-56:ctx-c49c0b6b job-756) (logid:94f12c66) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin
> javax.persistence.EntityExistsException: Entity already exists:
>         at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1436)
>         at org.apache.cloudstack.framework.jobs.dao.AsyncJobJoinMapDaoImpl.joinJob(AsyncJobJoinMapDaoImpl.java:94)
>         at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         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 com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
>         
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)