[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.0.874-7.1ubuntu6.2 --- open-iscsi (2.0.874-7.1ubuntu6.2) focal; urgency=medium * d/open-iscsi.finalrd: fix UID resolution issues in logout (LP: #1922976) Thanks to Michael Brown -- Christian Ehrhardt Thu, 18 Mar 2021 09:44:07

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.1.1-1ubuntu2.1 --- open-iscsi (2.1.1-1ubuntu2.1) groovy; urgency=medium * d/open-iscsi.finalrd: fix UID resolution issues in logout (LP: #1922976) Thanks to Michael Brown -- Christian Ehrhardt Thu, 18 Mar 2021 09:44:07 +0100

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-27 Thread Christian Ehrhardt 
Thank you Michael ! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922976 Title: iscsid fails to log out from target on shutdown To manage notifications about this bug go to: https://bugs.launchpad

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-27 Thread Michael Brown
Confirmed that 2.1.1-1ubuntu2.1 works on Groovy: shutdown occurs cleanly as [ OK ] Reached target Power-Off. Logging out of session [sid: 1, target: iqn.2010-04.org.ipxe.dolphin:thing, portal: 10.0.0.6,3260] Logout of [sid: 1, target: iqn.2010-04.org.ipxe.dolphin:thing, portal: 10.0.0.6,3260]

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-27 Thread Michael Brown
Confirmed that 2.0.874-7.1ubuntu6.2 works on Focal: shutdown occurs cleanly as [ OK ] Reached target Power-Off. Logging out of session [sid: 1, target: iqn.2010-04.org.ipxe.dolphin:risso, portal: 10.0.0.6,3260] Logout of [sid: 1, target: iqn.2010-04.org.ipxe.dolphin:risso, portal: 10.0.0.6,326

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-27 Thread Christian Ehrhardt 
I've checked my cases and they were not regressing. That is good, but as we've found before they are not authoritative for the issue we want to fix here. @Michael - would you be able to do the real verification for Focal and Groovy with your setup please? -- You received this bug notification be

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-26 Thread Timo Aaltonen
Hello Michael, or anyone else affected, Accepted open-iscsi into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open- iscsi/2.0.874-7.1ubuntu6.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-26 Thread Timo Aaltonen
Hello Michael, or anyone else affected, Accepted open-iscsi into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/open- iscsi/2.1.1-1ubuntu2.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-15 Thread Christian Ehrhardt 
Hirsute done, sponsored as SRUs for Focal and Hirsute for review by the SRU Team -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922976 Title: iscsid fails to log out from target on shutdown To mana

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-15 Thread Launchpad Bug Tracker
This bug was fixed in the package open-iscsi - 2.1.3-1ubuntu6 --- open-iscsi (2.1.3-1ubuntu6) hirsute; urgency=medium * d/open-iscsi.finalrd: fix UID resolution issues in logout (LP: #1922976) Thanks to Michael Brown -- Christian Ehrhardt Thu, 18 Mar 2021 09:44:07 +0100 **

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Christian Ehrhardt 
Reviewed as well, uploaded for Hirsute. Once it completes there we can go for the SRUs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922976 Title: iscsid fails to log out from target on shutdown

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Michael Brown
Confirmed (on focal) that the open-iscsi PPA fixes the issue as expected. The final console messages on a "real" iSCSI-booted VM are now: [ OK ] Reached target Final Step. [ OK ] Finished Power-Off. [ OK ] Reached target Power-Off. Logging out of session [sid: 1, target: iqn.2010-04.org.ipx

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Christian Ehrhardt 
** Description changed: + [Impact] + + * The finalrd hook [1] of openiscsi runs iscsid which wants to +check for users [2] of its IPC peers. That fails for issues +with nss in that environment. + + * The changes prep nss (libs) and if necesary fake a trivial +/etc/passwd so that th

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/open-iscsi/+git/open-iscsi/+merge/401085 ** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/open-iscsi/+git/open-iscsi/+merge/401086 ** Merge proposal linked: https://code.launchpad.

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Christian Ehrhardt 
** Also affects: open-iscsi (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: open-iscsi (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bug

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-14 Thread Christian Ehrhardt 
Thanks for the answers Michael! With Focal in my test environment I still see Unexpected iSCSI Connection State, forcing iSCSI logout. Logging out of session [sid: 1, target: tgt-boot-test-CgkE2Y, portal: 10.0.12.2,3260] [ 1291.109263] sd-execu[1616]: /usr/lib/systemd/system-shutdown/open-iscsi

Re: [Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-13 Thread Michael Brown
On 13/04/2021 15:05, Christian Ehrhardt  wrote: > This is a transient setup, but it should run the same hooks shouldn't it? > In any case it does not have the same hang, the guest shuts down even it > failing. > To be fair the finalrd has issues, but not a full hang. > > ... > [ OK ] Reached t

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-13 Thread Christian Ehrhardt 
The package has some tests that are meant to do iscsi root but can't be executed fully automated. With those one can try iscsi-root rather easy (not really easy, but better than from scratch). $ pull-lp-source open-iscsi $ cd open-iscsi-2.1.3/ $ PATH=$PWD/debian/tests:$PATH $ get-image hirsute.d

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-09 Thread Michael Brown
Thanks. I can easily retest whenever an updated open-iscsi .deb is available to download - just let me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922976 Title: iscsid fails to log out fro

[Bug 1922976] Re: iscsid fails to log out from target on shutdown

2021-04-09 Thread Paride Legovini
Hello Michael and thanks for this bug report. I don't have a system I can reproduce the issue on at the moment, but your analysis looks correct to me. Integrating your open-iscsi-sanbootable.finalrd into the open-iscsi.finalrd hook shipped with the open-iscsi Ubuntu package should do the trick. Th