Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9581

Error in logs while concurrently creating 100 vms

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.6.0
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • esx-5.5

    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

      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)
      
              
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bhavin2909 Bhavin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment