[Bug 2097808] Re: IPv6 support for iBFT iSCSI boot

Launchpad Bug Tracker 2097808 at bugs.launchpad.net
Thu Feb 27 11:47:43 UTC 2025


This bug was fixed in the package open-iscsi - 2.1.5-1ubuntu1.1

---------------
open-iscsi (2.1.5-1ubuntu1.1) jammy; urgency=medium

  * IPv6 support for iBFT iSCSI boot (LP: #2097808)
    - d/p/lp2097808-IPv6-support-for-iBFT-iSCSI-boot-493.patch

 -- Chengen Du <chengen.du at canonical.com>  Tue, 11 Feb 2025 03:06:32
+0000

** Changed in: open-iscsi (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/2097808

Title:
  IPv6 support for iBFT iSCSI boot

Status in open-iscsi package in Ubuntu:
  Fix Released
Status in open-iscsi source package in Focal:
  Fix Released
Status in open-iscsi source package in Jammy:
  Fix Released
Status in open-iscsi source package in Noble:
  Fix Released
Status in open-iscsi source package in Oracular:
  Fix Released
Status in open-iscsi source package in Plucky:
  Fix Released

Bug description:
  [Impact]
  Using IPv4-specific APIs during NIC setup based on iBFT information, regardless of the IP version, results in the following error in IPv6-only environments:

  Setting up software interface ens300f0np0
  iscsistart: Invalid or missing ipaddr in fw entry
  Setting up software interface ens300f0np0 failed

  [Fix]
  Upstream has a patch to resolve this issue.

  commit 72c2b97c19a2d0710b38802d50813feb682278f7
  Author:     yukariatlas <49406051+yukariatlas at users.noreply.github.com>
  Date: Fri Dec 27 11:03:43 2024 -0800

      IPv6 support for iBFT iSCSI boot (#493)

      * Avoid reassigning a char pointer variable to a newly allocated
  string

      Introduce two separate variables to clearly distinguish their
  usage.

      Signed-off-by: Chengen Du <chengen.du at canonical.com>

      * IPv6 support for iBFT iSCSI boot

      Use IPv4-specific APIs during NIC setup based on iBFT information,
      regardless of the IP version, which leads to the following error
      in IPv6-only environments:

      Setting up software interface ens300f0np0
      iscsistart: Invalid or missing ipaddr in fw entry
      Setting up software interface ens300f0np0 failed

      To address this, the process now determines the IP version first
      and calls the appropriate functions to handle NIC setup.

      Signed-off-by: Chengen Du <chengen.du at canonical.com>

      ---------

      Signed-off-by: Chengen Du <chengen.du at canonical.com>

  [Test Plan]
  1. Set up a machine with an iSCSI backend in an IPv6-only environment.  
  2. Power on the machine and verify that the following error does not occur:  
     Setting up software interface ens300f0np0  
     iscsistart: Invalid or missing ipaddr in fw entry  
     Setting up software interface ens300f0np0 failed  
  3. Ensure that the machine can successfully boot via iSCSI in an IPv4 environment.

  [Where problems could occur]
  The fix primarily adds IPv6 support for iBFT iSCSI boot and should not impact the IPv4 scenario. However, if any regressions occur, the iBFT iSCSI boot mechanism may be affected, potentially preventing the machine from booting via iSCSI.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/2097808/+subscriptions




More information about the foundations-bugs mailing list