Hello Jose, Good to hear from you. I recollect having met you, in person, at Debconf Heidelberg or Debconf Capetown. I hope you are doing good. :-)
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 ? -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part