cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Vogel <S.Vo...@ewerk.com>
Subject Re: Cancel the async task in execution
Date Thu, 22 Aug 2019 16:32:35 GMT
We had the same problem and manually edit the async... table. So far I know there is nothing.

Von meinem iPhone gesendet


__

Sven Vogel
Teamlead Platform

EWERK RZ GmbH
Brühl 24, D-04109 Leipzig
P +49 341 42649 - 11
F +49 341 42649 - 18
S.Vogel@ewerk.com
www.ewerk.com

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Frank Richter
Registergericht: Leipzig HRB 17023

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 20000-1:2011

EWERK-Blog | LinkedIn | Xing | Twitter | Facebook

Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist vertraulich und
nur für den Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein,
ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt.
Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail
(einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen Dank.

The contents of this e-mail (including any attachments) are confidential and may be legally
privileged. If you are not the intended recipient of this e-mail, any disclosure, copying,
distribution or use of its contents is strictly prohibited, and you should please notify the
sender immediately and then delete it (including any attachments) from your system. Thank
you.
> Am 06.08.2019 um 17:48 schrieb Riepl, Gregor (SWISS TXT) <Gregor.Riepl@swisstxt.ch>:
>
> 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 <div8cn@hotmail.com>
> Sent: 06 August 2019 15:49
> To: users@cloudstack.apache.org <users@cloudstack.apache.org>
> 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<mailto:andrija.panic@gmail.com>
> 发送时间: 2019年8月6日 19:29
> 收件人: users<mailto:users@cloudstack.apache.org>
> 主题: 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 <div8cn@hotmail.com> 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ć
>
Mime
View raw message