On Wed, Aug 18, 2021 at 10:17:36PM +0530, Ritesh Raj Sarraf wrote: > On Wed, 2021-08-18 at 19:35 +0530, Ritesh Raj Sarraf wrote: > > On Wed, 2021-08-18 at 13:32 +0100, Jose M Calhariz wrote: > > > I was expecting to be easy to collect the info in one or 2 files, but > > > I am wrong. I have 3 targets with multipath for 2 of them and I am > > > not certain what is active. I have multipath active, I am certain of > > > that, because of the device I am mouting: > > > /dev/mapper/mpath-XXXXX-part1 > > > > > > So I am expecting you need all files inside /etc/iscsi and some > > > run-time info? > > > > I am asking this information just for the sake of this task, to > > ascertain why it failed in the first 30 seconds. > > > > Since this worked for you, later, when you increased the timeout to 120 > > seconds; there's not much to do I suppose. But yes, from this bug > > report's sake, having that information clarified will be good.
Giving that I have seen this bug before with my machines, it is only the first time I am reporting and being the first reporter so I am with you, this is some setting in my site or my machine. With more reasearch with help from the local specialist I found a an extra iSCSI setup to a local appliance that I not longer need. So I remove it from /etc/iscsi. Doing again a: dpkg --configure -a 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 Processing triggers for initramfs-tools (0.140) ... update-initramfs: Generating /boot/initrd.img-5.10.0-8-amd64 This time it succeeds. So this probably is a problem on my machine. May I suggest for you to increase the timeout from 30s to 60 or 120s? Mine reasoning is that my machine boots fast enough for me not investigate more my iSCSI connections, but probably the iSCSI appliance is giving authentication timeout and so the increased need for a longer timeout on open-iscsi postinst. Making the package more robust. We may talk more about this problem and I offer my time and machine to do research on to improve the package if you see benefit on that. But I will not keep the bug open if you want to close it. 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