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

NPE whle deleting internal LB rules concurrently

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.6.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Environment:
      esx-5.5

      Description

      deleting internal Lb rules with different source ip throwing NPE. This is a generic issue where we used Nuage as a Service provider

      teps to reproduce:
      1. create 12 rules concurrently with different source ip address
      2. assign 12 rules to a VM concurrently, 12 lb vms should be created
      3.delete 12 rules concurrently
      actual results:
      NPE while deleting rules
      expected results:
      all rules should be deleted without NPE

      ava.lang.NullPointerException
      com.cloud.utils.exception.CloudRuntimeException: Failed to update state:java.lang.NullPointerException
      java.lang.NullPointerException
      com.cloud.utils.exception.CloudRuntimeException: Failed to update state:java.lang.NullPointerException
      2016-10-20 16:51:31,612 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-63:ctx-c2e57461 job-4701/job-4706 ctx-a45e175b) (logid:c55c3a26) Invocation exception, caused by: java.lang.NullPointerException
      2016-10-20 16:51:31,613 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-63:ctx-c2e57461 job-4701/job-4706 ctx-a45e175b) (logid:c55c3a26) Rethrow exception java.lang.NullPointerException
      java.lang.NullPointerException
      java.lang.NullPointerException
      com.cloud.utils.exception.CloudRuntimeException: Failed to update state:java.lang.NullPointerException
      2016-10-20 16:51:31,915 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-7fde1f43 job-4701) (logid:c55c3a26) Unexpected exception while executing org.apache.cloudstack.api.command.user.loadbalancer.DeleteApplicationLoadBalancerCmd
      java.lang.NullPointerException
      2016-10-20 16:51:31,916 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-89:ctx-7fde1f43 job-4701) (logid:c55c3a26) Complete async job-4701, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
      2016-10-20 16:51:33,520 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-67:ctx-d7a48e6b job-4703/job-4708 ctx-20982299) (logid:ed374f66) Invocation exception, caused by: java.lang.NullPointerException
      2016-10-20 16:51:33,522 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-67:ctx-d7a48e6b job-4703/job-4708 ctx-20982299) (logid:ed374f66) Rethrow exception java.lang.NullPointerException
      java.lang.NullPointerException
      2016-10-20 16:51:33,650 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-67:ctx-c2932ca6 job-4703) (logid:ed374f66) Unexpected exception while executing org.apache.cloudstack.api.command.user.loadbalancer.DeleteApplicationLoadBalancerCmd
      java.lang.NullPointerException
      2016-10-20 16:51:33,651 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-67:ctx-c2932ca6 job-4703) (logid:ed374f66) Complete async job-4703, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
      2016-10-20 16:51:35,512 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-154:ctx-19dc7cab job-4705/job-4710 ctx-acf4b97f) (logid:e48d6bdf) Invocation exception, caused by: java.lang.NullPointerException
      2016-10-20 16:51:35,514 INFO  [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-154:ctx-19dc7cab job-4705/job-4710 ctx-acf4b97f) (logid:e48d6bdf) Rethrow exception java.lang.NullPointerException
      java.lang.NullPointerException
      2016-10-20 16:51:35,677 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-9:ctx-698bafa8 job-4705) (logid:e48d6bdf) Unexpected exception while executing org.apache.cloudstack.api.command.user.loadbalancer.DeleteApplicationLoadBalancerCmd
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bhavin2909 Bhavin
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: