On Tue, Aug 17, 2021 at 11:13:36PM +0530, Ritesh Raj Sarraf wrote: > Hello Jose,
Hi > > Good to hear from you. I recollect having met you, in person, at > Debconf Heidelberg or Debconf Capetown. I hope you are doing > good. :-) Yes, I am fine and you? I was in both DebConfs but I remember meeting you in Capetown. > > On Tue, 2021-08-17 at 16:27 +0100, Jose M Calhariz wrote: > > During upgrades of open-iscsi on my environment it fails to run > > postinst with success. I got the following messages: > > > > Setting up open-iscsi (2.1.3-5) ... > > open-iscsi postinst: since the check in preinst some iSCSI sessions > > have > > failed. -> will wait 30s for automatic recovery > > open-iscsi postinst: some sessions are still in failed state -> > > iscsid > > will be restarted regardless, since that may > > actually help with the session recovery. > > dpkg: error processing package open-iscsi (--configure): > > installed open-iscsi package post-installation script subprocess > > returned error exit status 1 > > > > > > I have tried to change the postinst to wait for more time, for > > example > > 120s and it worked, after 40 seconds of wait. > > Hmmm. Usually, the sessions should recover within a couple of seconds. > IIRC, the check is every 5 seconds. > > > Did you change/tweak any of the default timeout values ? > Most probably, it is not me that usually setup the iSCSI connections. What values do you want me to look into it and where? Kind regards Jose M Calhariz -- -- É difícil dizer o que e impossivel, pois a fantasia de ontem e a esperanca de hoje e a realidade de amanha. -- Robert H. Goddard
signature.asc
Description: PGP signature