Bug 1687111
Summary: | AttributeError: 'USBNetDevice' object has no attribute 'name' when starting redfish-finder service | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rachel Sibley <rasibley> | |
Component: | redfish-finder | Assignee: | Neil Horman <nhorman> | |
Status: | CLOSED ERRATA | QA Contact: | Rachel Sibley <rasibley> | |
Severity: | high | Docs Contact: | Jaroslav Klech <jklech> | |
Priority: | high | |||
Version: | 8.0 | CC: | ahuang12, bhu, core-kernel-mgr, jkachuck, jklech, nhorman, Smahmoud, tbowling, toneata | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
.The `redfish-finder` service properly sets up BMC communication
Previously, the `redfish-finder` service became unresponsive when it could not find a USB network interface for the baseboard management controller (BMC). Consequently, `redfish-finder` failed to set up BMC communication. This update reverts an early patch that byte-swaps the USB IDs to work around an early firmware issue. As a result, `redfish-finder` now functions as expected.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1717383 (view as bug list) | Environment: | ||
Last Closed: | 2019-11-05 20:53:59 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: | 1660905, 1666894, 1671421, 1717383 |
Description
Rachel Sibley
2019-03-09 22:04:40 UTC
This needs an upstream backport to handle the usb device/vendor id swapping found on the lenovo firmware. Now that the firmware is updated I can get the latest upstream sources to fix it. Though your target release is set to 8.0. Does this need to be a blocker (assuming we have time for that), or an 8.1 target with a z-stream backport @nhorman I am ok with setting to 8.1 with a z-stream backport, I'm not sure how many customers are relying on this feature for 8.0, is there a workaround for this ? ok, lets do this as an 8.1 fix with a z-stream. The field workaround would be manual modification of /usr/bin/redfish-finder with a small patch. Ugly, but workable. And this will be an early z-stream batch, so I think we're ok. *** Bug 1702863 has been marked as a duplicate of this bug. *** Hello, This bug has been copied as 8.0.0 z-stream bug #1717383 Thank You Joe Kachuck Verified as fixed with latest redfish-finder rpm, I do see a warning about parsing, but the service started successfully, a separate bz can be filed if deemed necessary: redfish-finder: Unexpected error parsing ServiceConfig Before: ================ ~]# rpm -q redfish-finder redfish-finder-0.2-1.el8.noarch ~]# systemctl start redfish-finder Job for redfish-finder.service failed because the control process exited with error code. See "systemctl status redfish-finder.service" and "journalctl -xe" for details. ~]# systemctl status redfish-finder ● redfish-finder.service - Redfish host api discovery service Loaded: loaded (/usr/lib/systemd/system/redfish-finder.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2019-09-25 12:09:28 EDT; 13s ago Process: 18508 ExecStart=/usr/bin/redfish-finder (code=exited, status=1/FAILURE) Main PID: 18508 (code=exited, status=1/FAILURE) Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: File "/usr/bin/redfish-finder", line 453, in main Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: conn = nmConnection(smbios_info.device) Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: File "/usr/bin/redfish-finder", line 350, in __init__ Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: self.cmdlinedown = "nmcli con down id " + self.ifc.getifcname() Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: File "/usr/bin/redfish-finder", line 50, in getifcname Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: return self.name Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18508]: AttributeError: 'USBNetDevice' object has no attribute 'name' Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com systemd[1]: redfish-finder.service: Main process exited, code=exited, status=1/FAILURE Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com systemd[1]: redfish-finder.service: Failed with result 'exit-code'. Sep 25 12:09:28 redfish-devel.desktop.lab.eng.rdu2.redhat.com systemd[1]: Failed to start Redfish host api discovery service. After: ================ ~]# rpm -q redfish-finder redfish-finder-0.3-3.el8.noarch ~]# systemctl stop redfish-finder ~]# systemctl start redfish-finder ~]# systemctl status redfish-finder ● redfish-finder.service - Redfish host api discovery service Loaded: loaded (/usr/lib/systemd/system/redfish-finder.service; disabled; vendor preset: disabled) Active: active (exited) since Wed 2019-09-25 12:11:33 EDT; 5s ago Process: 18913 ExecStart=/usr/bin/redfish-finder (code=exited, status=0/SUCCESS) Main PID: 18913 (code=exited, status=0/SUCCESS) Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/A> Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Getting dmidecode info Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Unexpected error parsing ServiceConfig Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Building NetworkManager connection info Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Obtaining OS config info Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Converting SMBIOS Host Config to NetworkManager Connection info Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Applying NetworkManager connection configuration changes Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Adding redfish host info to OS config Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com redfish-finder[18913]: redfish-finder: Done, BMC is now reachable via hostname redfish-localhost Sep 25 12:11:33 redfish-devel.desktop.lab.eng.rdu2.redhat.com systemd[1]: Started Redfish host api discovery service. 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, 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-2019:3351 |