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.
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Quoted 8 lines · Loic Dachary
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.
Mmm, I'm not sure that's correct if you're killing jobs which are actually running — teuthology-nuke (which it will invoke) can take a while and you definitely don't want to time that out! So beware for in-process runs.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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" <[email protected]>
To: "Ceph Development" <[email protected]>
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.
Signature · 5 lines
Loïc Dachary, Artisan Logiciel Libre -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
I was thinking of teuthology-nuke thou !
Thx
YuriW
----- Original Message -----
From: "Yuri Weinstein" <[email protected]>
To: "Loic Dachary" <[email protected]>
Cc: "Ceph Development" <[email protected]>
Sent: Tuesday, July 21, 2015 9:33:26 AM
Subject: Re: timeout 120 teuthology-killl is highly recommended
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" <[email protected]>
To: "Ceph Development" <[email protected]>
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.
Signature · 9 lines
Loïc Dachary, Artisan Logiciel Libre -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Greg & Yuri : I stand corrected, I should have been less affirmative on a topic I know little about. Thanks !
Quoted 30 lines · Yuri Weinstein
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" <[email protected]>
To: "Ceph Development" <[email protected]>
Sent: Tuesday, July 21, 2015 9:13:04 AM
Subject: timeout 120 teuthology-killl is highly recommendedHi 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.
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre