[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Patch added: "lp1915678-focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/python-os-brick/+bug/1915678/+attachment/5538750/+files/lp1915678-focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: [SRU] iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Patch added: "lp1915678-focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/python-os-brick/+bug/1915678/+attachment/5538751/+files/lp1915678-focal.debdiff ** Summary changed: - iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails + [SRU] iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails ** Tags added: seg sts sts-sponsor ** Tags added: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: [SRU] iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Merge proposal unlinked: https://code.launchpad.net/~brettmilford/ubuntu/+source/python-os-brick/+git/python-os-brick/+merge/411469 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Merge proposal linked: https://code.launchpad.net/~brettmilford/ubuntu/+source/python-os-brick/+git/python-os-brick/+merge/411469 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Description changed: + [Impact] + + * If some commands like "iscsiadm -m session" fail, the thread can abort immediately without updating any counters like failed_logins or stopped_threads properly, because there are no try-except block to catch exceptions. + * The main thread keeps waiting until these counters are updated, and this results in stuck of volume attachment process. + + [Test Case] + + * Deploy Cinder with an iSCSI driver and multipath enabled. + + * TBC. + + [Where problems could occur] + + * Change primarily introduces error handling and doesn't change implementation details. +As such we may see an error condition logged. + + [Other Info] + + * - + + --- Original Description --- + Currently we execute login to iscsi portals and device discovery in multiple threads concurrently when multipath is enabled. However if some commands like "iscsiadm -m session" fail, the thread can abort immediately without updating any counters like failed_logins or stopped_threads properly, because there are no try-except block to catch exceptions. However the main thread keeps waiting until these counters are updated, and this results in stuck of volume attachment process. This issue was initially reported in downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1923975 , and maybe is caused by a bug in iscsiadm command. However we should handle the error more properly because current behavior requires operators to restart services like cinder-volume to resolve the stuck. ** Also affects: python-os-brick (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: python-os-brick (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: python-os-brick (Ubuntu Jammy) Importance: Undecided Status: New ** Changed in: python-os-brick (Ubuntu Hirsute) Status: New => Fix Released ** Changed in: python-os-brick (Ubuntu Impish) Status: New => Fix Released ** Changed in: python-os-brick (Ubuntu Jammy) Status: New => Fix Released ** Changed in: python-os-brick (Ubuntu Focal) Status: New => In Progress ** Changed in: python-os-brick (Ubuntu Focal) Assignee: (unassigned) => Brett Milford (brettmilford) ** Changed in: python-os-brick (Ubuntu Bionic) Status: New => In Progress ** Changed in: python-os-brick (Ubuntu Bionic) Assignee: (unassigned) => Brett Milford (brettmilford) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915678] Re: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails
** Also affects: python-os-brick (Ubuntu) Importance: Undecided Status: New ** Also affects: python-os-brick (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: python-os-brick (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915678 Title: iSCSI+Multipath: Volume attachment hungs if sessiong scanning fails To manage notifications about this bug go to: https://bugs.launchpad.net/os-brick/+bug/1915678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs