Re: timeout 120 teuthology-killl is highly recommended

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg & Yuri : I stand corrected, I should have been less affirmative on a topic I know little about. Thanks !

On 21/07/2015 18:33, Yuri Weinstein wrote:
> Loic
> 
> I don't use teuthology-kill simultaneously only sequentially.
> As far as run time, just as a note, when we use 'stale' arg and it invokes ipmitool interface it does take awhile to finish. 
> 
> 
> Thx
> YuriW
> 
> ----- Original Message -----
> From: "Loic Dachary" <loic@xxxxxxxxxxx>
> To: "Ceph Development" <ceph-devel@xxxxxxxxxxxxxxx>
> Sent: Tuesday, July 21, 2015 9:13:04 AM
> Subject: timeout 120 teuthology-killl is highly recommended
> 
> Hi Ceph,
> 
> Today I did something wrong and that blocked the lab for a good half hour. 
> 
> a) I ran two teuthology-kill simultaneously and that makes them deadlock each other
> b) I let them run unattended only to come back to the terminal 30 minutes later and see them stuck.
> 
> Sure, two teuthology-kill simultaneously should not deadlock and that needs to be fixed. But the easy workaround to avoid that trouble is to just not let it run forever. Even for ~200 jobs it takes at most a minute or two. And if it takes longer it probably means another teuthology-kill competes and it should be interrupted and restarted later. From now on I'll do
> 
> timeout 120 teuthology-kill .... || echo FAIL!
> 
> as a generic safeguard.
> 
> Apologies for the troubles.
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux