----- Original Message -----
From: "Liron Aravot" <laravot(a)redhat.com>
To: "Eli Mesika" <emesika(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Wednesday, November 5, 2014 2:51:37 PM
Subject: Re: [ovirt-users] Cancelling a running task
----- Original Message -----
> From: "Eli Mesika" <emesika(a)redhat.com>
> To: "Daniel Lang" <Daniel.Lang(a)redi.com>
> Cc: users(a)ovirt.org
> Sent: Wednesday, November 5, 2014 2:23:00 PM
> Subject: Re: [ovirt-users] Cancelling a running task
>
>
>
> ----- Original Message -----
> > From: "Daniel Lang" <Daniel.Lang(a)redi.com>
> > To: "users(a)ovirt.org" <users(a)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
> <TaskID>
> stop async task
>
> and then
>
> clearTask
> <TaskID>
> 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(a)ovirt.org
> >
http://lists.ovirt.org/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users