cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riepl, Gregor (SWISS TXT)" <>
Subject Re: Cancel the async task in execution
Date Tue, 06 Aug 2019 15:48:27 GMT
You can change the async_job DB record to error or similar, but that will most likely not stop
the task.

We've done this in the past, but only when a job was stuck forever due to incorrect error
handling and not when it was still running.

Is there nothing in the API to stop a running task?
From: li jerry <>
Sent: 06 August 2019 15:49
To: <>
Subject: 答复: Cancel the async task in execution

Restarting all mgmt has a big impact.
If you can directly modify async_job to let the task abort, this will be very good.

发件人: Andrija Panic<>
发送时间: 2019年8月6日 19:29
收件人: users<>
主题: Re: Cancel the async task in execution

An aggressive way is to restart all mgmt servers - all async jobs will be
cleared our / fail - but there is also a way to wipe from async_job table
or similar, but I can't remember that from top of my head now...

On Tue, 6 Aug 2019 at 12:03, li jerry <> wrote:

> Hello all
> Is there an asynchronous task already in progress, is there any way to
> stop it and cancel it? (Can I change the database?)
> Scenes:
> Volume migrates across the pool. Due to the large volume capacity, offline
> migration takes a long, long, and long time, so it needs to be cancelled.


Andrija Panić

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message