Re: [ovirt-users] Cancelling a running task

2014-11-06 Thread Daniel Lang


Thank you to all 3 of you for the advice.  I was able to use vdsClient to end 
the task.



From: users-boun...@ovirt.org [users-boun...@ovirt.org] on behalf of Yair 
Zaslavsky [yzasl...@redhat.com]
Sent: Wednesday, November 05, 2014 5:36 PM
To: Liron Aravot
Cc: Oved Ourfali; users@ovirt.org
Subject: Re: [ovirt-users] Cancelling a running task

- Original Message -
> From: "Liron Aravot" 
> To: "Eli Mesika" 
> Cc: users@ovirt.org
> Sent: Wednesday, November 5, 2014 2:51:37 PM
> Subject: Re: [ovirt-users] Cancelling a running task
>
>
>
> - Original Message -
> > From: "Eli Mesika" 
> > To: "Daniel Lang" 
> > Cc: users@ovirt.org
> > Sent: Wednesday, November 5, 2014 2:23:00 PM
> > Subject: Re: [ovirt-users] Cancelling a running task
> >
> >
> >
> > - Original Message -
> > > From: "Daniel Lang" 
> > > To: "users@ovirt.org" 
> > > Sent: Tuesday, November 4, 2014 6:24:48 PM
> > > Subject: [ovirt-users] Cancelling a running task
> > >
> > >
> > >
> > > I am creating a VM and the copy from template operation has gone haywire
> > > causing significant performance issues on the host server. I’d like to
> > > cancel the copying image action (it’s been running ~3hours on a 3GB disk
> > > image copy) but I cannot find anything in the web UI to cancel a task. Is
> > > there a command line tool to cancel the running task?
> >
> > login to your SPM host and run the following
> >
> > vdsClient -s 0 getAllTasksStatuses
> >
> > You can than use
> >
> > stopTask
> > 
> > stop async task
> >
> > and then
> >
> > clearTask
> > 
> > clear async task
> >
> >
> >
> I suggest to only stop the task/tasks and let the ovirt engine to perform the
> clearance of the tasks.

+1 - I agree with Liron.
Let AsyncTaskManager handle the task clearing - it will also remove relevant 
entries from db.
Ravi, what do you think?

>
> > >
> > >
> > >
> > > The oVirt version is 3.4 and vdsm version 4.14.
> > >
> > >
> > >
> > > Thanks for any advice or links to documentation/man pages.
> > >
> > >
> > >
> > > Daniel Lang
> > >
> > > © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA,
> > > SIPC.
> > > All rights reserved. The information contained in and accompanying this
> > > communication may be confidential, subject to legal privilege, or
> > > otherwise
> > > protected from disclosure, and is intended solely for the use of the
> > > intended recipient(s). If you are not the intended recipient of this
> > > communication, please delete and destroy all copies in your possession,
> > > notify the sender that you have received this communication in error, and
> > > note that any review or dissemination of, or the taking of any action in
> > > reliance on, this communication is expressly prohibited. E-mail messages
> > > may
> > > contain computer viruses or other defects, may not be accurately
> > > replicated
> > > on other systems, or may be intercepted, deleted or interfered with
> > > without
> > > the knowledge of the sender or the intended recipient. REDI makes no
> > > warranties in relation to these matters. Please note that REDI reserves
> > > the
> > > right to intercept, monitor, and retain e-mail messages to and from its
> > > systems as permitted by applicable law. If you are not comfortable with
> > > the
> > > risks associated with e-mail messages, you may decide not to use e-mail
> > > to
> > > communicate with REDI.
> > >
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

© Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC. All 
rights reserved. The information contained in and

Re: [ovirt-users] Cancelling a running task

2014-11-05 Thread Yair Zaslavsky


- Original Message -
> From: "Liron Aravot" 
> To: "Eli Mesika" 
> Cc: users@ovirt.org
> Sent: Wednesday, November 5, 2014 2:51:37 PM
> Subject: Re: [ovirt-users] Cancelling a running task
> 
> 
> 
> - Original Message -
> > From: "Eli Mesika" 
> > To: "Daniel Lang" 
> > Cc: users@ovirt.org
> > Sent: Wednesday, November 5, 2014 2:23:00 PM
> > Subject: Re: [ovirt-users] Cancelling a running task
> > 
> > 
> > 
> > - Original Message -
> > > From: "Daniel Lang" 
> > > To: "users@ovirt.org" 
> > > Sent: Tuesday, November 4, 2014 6:24:48 PM
> > > Subject: [ovirt-users] Cancelling a running task
> > > 
> > > 
> > > 
> > > I am creating a VM and the copy from template operation has gone haywire
> > > causing significant performance issues on the host server. I’d like to
> > > cancel the copying image action (it’s been running ~3hours on a 3GB disk
> > > image copy) but I cannot find anything in the web UI to cancel a task. Is
> > > there a command line tool to cancel the running task?
> > 
> > login to your SPM host and run the following
> > 
> > vdsClient -s 0 getAllTasksStatuses
> > 
> > You can than use
> > 
> > stopTask
> > 
> > stop async task
> > 
> > and then
> > 
> > clearTask
> > 
> > clear async task
> > 
> > 
> > 
> I suggest to only stop the task/tasks and let the ovirt engine to perform the
> clearance of the tasks.

+1 - I agree with Liron.
Let AsyncTaskManager handle the task clearing - it will also remove relevant 
entries from db.
Ravi, what do you think?

> 
> > > 
> > > 
> > > 
> > > The oVirt version is 3.4 and vdsm version 4.14.
> > > 
> > > 
> > > 
> > > Thanks for any advice or links to documentation/man pages.
> > > 
> > > 
> > > 
> > > Daniel Lang
> > > 
> > > © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA,
> > > SIPC.
> > > All rights reserved. The information contained in and accompanying this
> > > communication may be confidential, subject to legal privilege, or
> > > otherwise
> > > protected from disclosure, and is intended solely for the use of the
> > > intended recipient(s). If you are not the intended recipient of this
> > > communication, please delete and destroy all copies in your possession,
> > > notify the sender that you have received this communication in error, and
> > > note that any review or dissemination of, or the taking of any action in
> > > reliance on, this communication is expressly prohibited. E-mail messages
> > > may
> > > contain computer viruses or other defects, may not be accurately
> > > replicated
> > > on other systems, or may be intercepted, deleted or interfered with
> > > without
> > > the knowledge of the sender or the intended recipient. REDI makes no
> > > warranties in relation to these matters. Please note that REDI reserves
> > > the
> > > right to intercept, monitor, and retain e-mail messages to and from its
> > > systems as permitted by applicable law. If you are not comfortable with
> > > the
> > > risks associated with e-mail messages, you may decide not to use e-mail
> > > to
> > > communicate with REDI.
> > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cancelling a running task

2014-11-05 Thread Liron Aravot


- Original Message -
> From: "Eli Mesika" 
> To: "Daniel Lang" 
> Cc: users@ovirt.org
> Sent: Wednesday, November 5, 2014 2:23:00 PM
> Subject: Re: [ovirt-users] Cancelling a running task
> 
> 
> 
> - Original Message -
> > From: "Daniel Lang" 
> > To: "users@ovirt.org" 
> > Sent: Tuesday, November 4, 2014 6:24:48 PM
> > Subject: [ovirt-users] Cancelling a running task
> > 
> > 
> > 
> > I am creating a VM and the copy from template operation has gone haywire
> > causing significant performance issues on the host server. I’d like to
> > cancel the copying image action (it’s been running ~3hours on a 3GB disk
> > image copy) but I cannot find anything in the web UI to cancel a task. Is
> > there a command line tool to cancel the running task?
> 
> login to your SPM host and run the following
> 
> vdsClient -s 0 getAllTasksStatuses
> 
> You can than use
> 
> stopTask
> 
> stop async task
> 
> and then
> 
> clearTask
> 
> clear async task
> 
> 
> 
I suggest to only stop the task/tasks and let the ovirt engine to perform the 
clearance of the tasks.

> > 
> > 
> > 
> > The oVirt version is 3.4 and vdsm version 4.14.
> > 
> > 
> > 
> > Thanks for any advice or links to documentation/man pages.
> > 
> > 
> > 
> > Daniel Lang
> > 
> > © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC.
> > All rights reserved. The information contained in and accompanying this
> > communication may be confidential, subject to legal privilege, or otherwise
> > protected from disclosure, and is intended solely for the use of the
> > intended recipient(s). If you are not the intended recipient of this
> > communication, please delete and destroy all copies in your possession,
> > notify the sender that you have received this communication in error, and
> > note that any review or dissemination of, or the taking of any action in
> > reliance on, this communication is expressly prohibited. E-mail messages
> > may
> > contain computer viruses or other defects, may not be accurately replicated
> > on other systems, or may be intercepted, deleted or interfered with without
> > the knowledge of the sender or the intended recipient. REDI makes no
> > warranties in relation to these matters. Please note that REDI reserves the
> > right to intercept, monitor, and retain e-mail messages to and from its
> > systems as permitted by applicable law. If you are not comfortable with the
> > risks associated with e-mail messages, you may decide not to use e-mail to
> > communicate with REDI.
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cancelling a running task

2014-11-05 Thread Eli Mesika


- Original Message -
> From: "Daniel Lang" 
> To: "users@ovirt.org" 
> Sent: Tuesday, November 4, 2014 6:24:48 PM
> Subject: [ovirt-users] Cancelling a running task
> 
> 
> 
> I am creating a VM and the copy from template operation has gone haywire
> causing significant performance issues on the host server. I’d like to
> cancel the copying image action (it’s been running ~3hours on a 3GB disk
> image copy) but I cannot find anything in the web UI to cancel a task. Is
> there a command line tool to cancel the running task?

login to your SPM host and run the following 

vdsClient -s 0 getAllTasksStatuses

You can than use 

stopTask

stop async task

and then 

clearTask

clear async task



> 
> 
> 
> The oVirt version is 3.4 and vdsm version 4.14.
> 
> 
> 
> Thanks for any advice or links to documentation/man pages.
> 
> 
> 
> Daniel Lang
> 
> © Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC.
> All rights reserved. The information contained in and accompanying this
> communication may be confidential, subject to legal privilege, or otherwise
> protected from disclosure, and is intended solely for the use of the
> intended recipient(s). If you are not the intended recipient of this
> communication, please delete and destroy all copies in your possession,
> notify the sender that you have received this communication in error, and
> note that any review or dissemination of, or the taking of any action in
> reliance on, this communication is expressly prohibited. E-mail messages may
> contain computer viruses or other defects, may not be accurately replicated
> on other systems, or may be intercepted, deleted or interfered with without
> the knowledge of the sender or the intended recipient. REDI makes no
> warranties in relation to these matters. Please note that REDI reserves the
> right to intercept, monitor, and retain e-mail messages to and from its
> systems as permitted by applicable law. If you are not comfortable with the
> risks associated with e-mail messages, you may decide not to use e-mail to
> communicate with REDI.
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cancelling a running task

2014-11-04 Thread Daniel Lang
I am creating a VM and the copy from template operation has gone haywire 
causing significant performance issues on the host server.   I’d like to cancel 
the copying image action (it’s been running ~3hours on a 3GB disk image copy) 
but I cannot find anything in the web UI to cancel a task.  Is there a command 
line tool to cancel the running task?

The oVirt version is 3.4 and vdsm version 4.14.

Thanks for any advice or links to documentation/man pages.

Daniel Lang

© Copyright 2014 REDI Global Technologies LLC (“REDI”), member FINRA, SIPC. All 
rights reserved. The information contained in and accompanying this 
communication may be confidential, subject to legal privilege, or otherwise 
protected from disclosure, and is intended solely for the use of the intended 
recipient(s). If you are not the intended recipient of this communication, 
please delete and destroy all copies in your possession, notify the sender that 
you have received this communication in error, and note that any review or 
dissemination of, or the taking of any action in reliance on, this 
communication is expressly prohibited. E-mail messages may contain computer 
viruses or other defects, may not be accurately replicated on other systems, or 
may be intercepted, deleted or interfered with without the knowledge of the 
sender or the intended recipient. REDI makes no warranties in relation to these 
matters. Please note that REDI reserves the right to intercept, monitor, and 
retain e-mail messages to and from its systems as permitted by applicable law. 
If you are not comfortable with the risks associated with e-mail messages, you 
may decide not to use e-mail to communicate with REDI.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users