You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Юрий Карпель <yu...@karpel.su> on 2015/07/27 16:51:39 UTC

Remove nic error

Cloudstack 4.4.4, VMware DC
I have one Windows instance to which I had added "Shared guest network"
NIC. Then I added "isolated guest network" nic to it. Made "isolated guest
network" NIC as default and tried to remove "Shared guest network" NIC, but
its failing with null exception. I have attached logs.


2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while
executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
java.lang.RuntimeException: Job failed due to exception null
        at
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
        at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502)
        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:459)
        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:745)
2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165,
jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception null"}

RE: Remove nic error

Posted by Somesh Naidu <So...@citrix.com>.
Daan, thanks for pointing out, your advice works better.

Regarding the ticket, I believe Sonali did raised one for the NPE  - https://issues.apache.org/jira/browse/CLOUDSTACK-8328. It is currently unresolved. Don't think she raise a separate ticket for exception handling.

Regards,
Somesh


-----Original Message-----
From: Daan Hoogland [mailto:daan.hoogland@gmail.com] 
Sent: Monday, July 27, 2015 6:42 PM
To: users@cloudstack.apache.org
Subject: Re: Remove nic error

Somesh, you can refer to http://apache.markmail.org instead of
including the whole thread:
http://markmail.org/message/fwicbvz7tcqp2hhl

I noticed that the behaviour is not improved a whole lot in master.
There is still a catch (Throwable e) block. @Somesh Did you add the
ticket about this as discussed in the thread?

@Yuri: can you look for a log message starting with 'Unable to
complete .*, job origin:' and see if there is a message and stacktrace
about your job-7165?


On Mon, Jul 27, 2015 at 5:51 PM, Glenn Wagner
<gl...@shapeblue.com> wrote:
> Hi Guys,
>
> Have a look at this JIRA issue  https://issues.apache.org/jira/browse/CLOUDSTACK-6853
>
> Glenn Wagner
> Senior Consultant, South Africa
>
>
>
> Phone: +27 21 527 0091 | Mobile: +27 73 917 4111
>
> glenn.wagner@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
> ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130
>
> -----Original Message-----
> From: Somesh Naidu [mailto:Somesh.Naidu@citrix.com]
> Sent: 27 July 2015 05:14 PM
> To: users@cloudstack.apache.org
> Subject: RE: Remove nic error
>
> You might find answers in the attached email thread.
>
> Regards,
> Somesh
>
>
> -----Original Message-----
> From: Юрий Карпель [mailto:yuriy@karpel.su]
> Sent: Monday, July 27, 2015 10:52 AM
> To: users@cloudstack.apache.org
> Subject: Remove nic error
>
> Cloudstack 4.4.4, VMware DC
> I have one Windows instance to which I had added "Shared guest network"
> NIC. Then I added "isolated guest network" nic to it. Made "isolated guest network" NIC as default and tried to remove "Shared guest network" NIC, but its failing with null exception. I have attached logs.
>
>
> 2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
> java.lang.RuntimeException: Job failed due to exception null
>         at
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
>         at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502)
>         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:459)
>         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:745)
> 2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165,
> jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
> failed due to exception null"}
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.



-- 
Daan

Re: Remove nic error

Posted by Daan Hoogland <da...@gmail.com>.
Somesh, you can refer to http://apache.markmail.org instead of
including the whole thread:
http://markmail.org/message/fwicbvz7tcqp2hhl

I noticed that the behaviour is not improved a whole lot in master.
There is still a catch (Throwable e) block. @Somesh Did you add the
ticket about this as discussed in the thread?

@Yuri: can you look for a log message starting with 'Unable to
complete .*, job origin:' and see if there is a message and stacktrace
about your job-7165?


On Mon, Jul 27, 2015 at 5:51 PM, Glenn Wagner
<gl...@shapeblue.com> wrote:
> Hi Guys,
>
> Have a look at this JIRA issue  https://issues.apache.org/jira/browse/CLOUDSTACK-6853
>
> Glenn Wagner
> Senior Consultant, South Africa
>
>
>
> Phone: +27 21 527 0091 | Mobile: +27 73 917 4111
>
> glenn.wagner@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
> ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130
>
> -----Original Message-----
> From: Somesh Naidu [mailto:Somesh.Naidu@citrix.com]
> Sent: 27 July 2015 05:14 PM
> To: users@cloudstack.apache.org
> Subject: RE: Remove nic error
>
> You might find answers in the attached email thread.
>
> Regards,
> Somesh
>
>
> -----Original Message-----
> From: Юрий Карпель [mailto:yuriy@karpel.su]
> Sent: Monday, July 27, 2015 10:52 AM
> To: users@cloudstack.apache.org
> Subject: Remove nic error
>
> Cloudstack 4.4.4, VMware DC
> I have one Windows instance to which I had added "Shared guest network"
> NIC. Then I added "isolated guest network" nic to it. Made "isolated guest network" NIC as default and tried to remove "Shared guest network" NIC, but its failing with null exception. I have attached logs.
>
>
> 2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
> java.lang.RuntimeException: Job failed due to exception null
>         at
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
>         at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502)
>         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:459)
>         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:745)
> 2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165,
> jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
> failed due to exception null"}
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.



-- 
Daan

RE: Remove nic error

Posted by Glenn Wagner <gl...@shapeblue.com>.
Hi Guys,

Have a look at this JIRA issue  https://issues.apache.org/jira/browse/CLOUDSTACK-6853

Glenn Wagner
Senior Consultant, South Africa



Phone: +27 21 527 0091 | Mobile: +27 73 917 4111

glenn.wagner@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town 7130

-----Original Message-----
From: Somesh Naidu [mailto:Somesh.Naidu@citrix.com]
Sent: 27 July 2015 05:14 PM
To: users@cloudstack.apache.org
Subject: RE: Remove nic error

You might find answers in the attached email thread.

Regards,
Somesh


-----Original Message-----
From: Юрий Карпель [mailto:yuriy@karpel.su]
Sent: Monday, July 27, 2015 10:52 AM
To: users@cloudstack.apache.org
Subject: Remove nic error

Cloudstack 4.4.4, VMware DC
I have one Windows instance to which I had added "Shared guest network"
NIC. Then I added "isolated guest network" nic to it. Made "isolated guest network" NIC as default and tried to remove "Shared guest network" NIC, but its failing with null exception. I have attached logs.


2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
java.lang.RuntimeException: Job failed due to exception null
        at
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
        at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502)
        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:459)
        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:745)
2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165,
jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception null"}
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

RE: Remove nic error

Posted by Somesh Naidu <So...@citrix.com>.
You might find answers in the attached email thread.

Regards,
Somesh


-----Original Message-----
From: Юрий Карпель [mailto:yuriy@karpel.su] 
Sent: Monday, July 27, 2015 10:52 AM
To: users@cloudstack.apache.org
Subject: Remove nic error

Cloudstack 4.4.4, VMware DC
I have one Windows instance to which I had added "Shared guest network"
NIC. Then I added "isolated guest network" nic to it. Made "isolated guest
network" NIC as default and tried to remove "Shared guest network" NIC, but
its failing with null exception. I have attached logs.


2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher]
(API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while
executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
java.lang.RuntimeException: Job failed due to exception null
        at
com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114)
        at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502)
        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:459)
        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:745)
2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165,
jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Job
failed due to exception null"}