Bug 2028391

Summary: Ignored traceback: iscsi: No IBFT info found
Product: Red Hat Enterprise Linux 9 Reporter: Jan Stodola <jstodola>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: blivet-maint-list, pholica, release-test-team-automation, vtrefny
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-3.4.0-11.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2028134 Environment:
Last Closed: 2022-05-17 13:20:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1942219    

Description Jan Stodola 2021-12-02 10:03:18 UTC
The same issue on RHEL-9 with python3-blivet-3.4.0-7.el9.

+++ This bug was initially created as a clone of Bug #2028134 +++

Description of problem:
There is an ignored traceback in storage.log when installing to an iSCSI target:

...
INFO:anaconda.modules.storage.kickstart:adding iscsi target iqn.2021-04.com.redhat:default at 10.8.1.31:3260 via None
INFO:program:Running... systemctl start iscsi-init.service
INFO:program:stderr:
INFO:program:b'Failed to start iscsi-init.service: Unit iscsi-init.service not found.'
DEBUG:program:Return code: 5
INFO:blivet:iSCSI startup
INFO:program:Running... modprobe -a cxgb3i bnx2i be2iscsi
INFO:program:stderr:
INFO:program:b'modprobe: WARNING: Module cxgb3i not found in directory /lib/modules/4.18.0-350.el8.x86_64'
DEBUG:program:Return code: 1
DEBUG:blivet:iscsi: iscsiuio is at /sbin/iscsiuio
INFO:program:Running... /sbin/iscsiuio
DEBUG:program:Return code: 1
INFO:program:Running... /sbin/iscsid
DEBUG:program:Return code: 1
INFO:blivet:IGNORED:                        Caught exception, continuing.
INFO:blivet:IGNORED:                        Problem description: iscsi: No IBFT info found.
INFO:blivet:IGNORED:                        Begin exception details.
INFO:blivet:IGNORED:                            Traceback (most recent call last):
INFO:blivet:IGNORED:                              File "/usr/lib/python3.6/site-packages/blivet/safe_dbus.py", line 141, in call_sync
INFO:blivet:IGNORED:                                DEFAULT_DBUS_TIMEOUT, None)
INFO:blivet:IGNORED:                            GLib.GError: g-io-error-quark: GDBus.Error:org.freedesktop.UDisks2.Error.ISCSI.NoObjectsFound: Discovery failed: libiscsi_discover_firmware: Could not get list of targets from firmware (err 21).
INFO:blivet:IGNORED:                             (36)
INFO:blivet:IGNORED:                            During handling of the above exception, another exception occurred:
INFO:blivet:IGNORED:                            Traceback (most recent call last):
INFO:blivet:IGNORED:                              File "/usr/lib/python3.6/site-packages/blivet/iscsi.py", line 304, in _start_ibft
INFO:blivet:IGNORED:                                found_nodes, _n_nodes = self._call_initiator_method("DiscoverFirmware", args)
INFO:blivet:IGNORED:                              File "/usr/lib/python3.6/site-packages/blivet/util.py", line 1115, in decorated
INFO:blivet:IGNORED:                                return fn(*args, **kwargs)
INFO:blivet:IGNORED:                              File "/usr/lib/python3.6/site-packages/blivet/iscsi.py", line 196, in _call_initiator_method
INFO:blivet:IGNORED:                                connection=self._connection)
INFO:blivet:IGNORED:                              File "/usr/lib/python3.6/site-packages/blivet/safe_dbus.py", line 145, in call_sync
INFO:blivet:IGNORED:                                raise DBusCallError(msg)
INFO:blivet:IGNORED:                            blivet.safe_dbus.DBusCallError: Failed to call DiscoverFirmware method on /org/freedesktop/UDisks2/Manager with (@a{sv} {},) arguments: GDBus.Error:org.freedesktop.UDisks2.Error.ISCSI.NoObjectsFound: Discovery failed: libiscsi_discover_firmware: Could not get list of targets from firmware (err 21).
INFO:blivet:IGNORED:                        End exception details.
DEBUG:blivet:discovered iSCSI node: iqn.2021-04.com.redhat:default
INFO:blivet:iSCSI: logged into iqn.2021-04.com.redhat:default at 10.8.1.31:3260 through default
...

Version-Release number of selected component (if applicable):
RHEL-8.6.0-20211122.1
anaconda-33.16.6.3-1.el8
python3-blivet-3.4.0-6.el8

How reproducible:
always

Steps to Reproduce:
1. Run a kickstart installation with iSCSI disk defined in the kickstart file, for example:
iscsiname iqn.2021-04.com.redhat:installer
iscsi --ipaddr=10.8.1.31 --target=iqn.2021-04.com.redhat:default


Actual results:
Ignored traceback in storage.log

Expected results:
No tracebacks in storage.log



--- Additional comment from Vojtech Trefny on 2021-12-01 16:36:16 CET ---

upstream PR: https://github.com/storaged-project/blivet/pull/999

Comment 2 Jan Stodola 2021-12-20 15:37:35 UTC
The traceback is no longer present in storage.log with python3-blivet-3.4.0-11.el9:

...
INFO:blivet:iscsi: No IBFT info found: Failed to call DiscoverFirmware method on /org/freedesktop/UDisks2/Manager with (@a{sv} {},) arguments: GDBus.Error:org.freedesktop.UDisks2.Error.ISCSI.NoObjectsFound: Discovery failed: libiscsi_di
scover_firmware: Could not get list of targets from firmware (err 21).

DEBUG:blivet:discovered iSCSI node: iqn.2003-01.org.linux-iscsi:test
...

Setting Verified:Tested

Comment 7 errata-xmlrpc 2022-05-17 13:20:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: python-blivet), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2494