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/06/09 08:55:01 UTC

[jira] [Updated] (CLOUDSTACK-6691) NPE while assigning a VM nic primary/secondaryip to internal lb rule.

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

Jayapal Reddy updated CLOUDSTACK-6691:
--------------------------------------

    Assignee: Jessica Wang  (was: Jayapal Reddy)

> NPE while assigning a VM nic primary/secondaryip to internal lb rule.
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6691
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6691
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.4.0
>            Reporter: manasaveloori
>            Assignee: Jessica Wang
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: management-server.rar
>
>
> 1.Create VPC.
> 2. Create a tier network using the network offering supporting the internal lb.
> 3. Deploy a VM using this tier network.Acquire secondary ip to the VM nic.
> 4. Go to VPC->configure->tier->internal LB->configure the internal LB.
> 5. Now assign vm in that tier to that internal Lb rule.
> Failing with NPE:
> 2014-05-16 06:29:00,509 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-23:job-114) Executing AsyncJobVO {id:114, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd, cmdInfo: {"":"","cmdEventType":"LB.ASSIGN.TO.RULE","ctxUserId":"2","signatureversion":"3","httpmethod":"GET","vmidipmap[0].vmip":"","apikey":"71KC57DrfcKrtoky1fx8-1drvYkZhxt2h1qhXig8LMlvnnppryePDI6ZZbyQ9uSHwawJcIA7xPzOV6zKoQEwDw","id":"","10.0.2.250":"","response":"json","ctxDetails":"{\"LoadBalancer\":\"\"}","expires":"2014-05-16T10:39:00+0000","5":"","uuid":"","ctxAccountId":"2","vmidipmap[0].vmid":"f91de9de-508a-4b84-8939-1c9173caa316","ctxStartEventId":"284","signature":"+ufhrzwBGdylmvZEV/6P+YmsLv0\u003d"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 7672522866886, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2014-05-16 06:29:00,523 WARN  [c.c.a.d.ParamGenericValidationWorker] (API-Job-Executor-23:job-114 ctx-1d33bb54) Received unknown parameters for command assignToLoadBalancerRule. Unknown parameters :  signatureversion ctxdetails 10.0.2.250 expires 5
> 2014-05-16 06:29:00,524 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-23:job-114) Unexpected exception while executing org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd
> java.lang.NullPointerException
>         at org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd.getSyncObjId(AssignToLoadBalancerRuleCmd.java:190)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:92)
>         at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>         at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:496)
>         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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:453)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-05-16 06:29:00,526 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-23:job-114) Complete async job-114, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530}
> 2014-05-16 06:29:00,550 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-23:job-114) Done executing org.apache.cloudstack.api.command.user.loadbalancer.AssignToLoadBalancerRuleCmd for job-114
> Attaching the logs



--
This message was sent by Atlassian JIRA
(v6.2#6252)