Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1715914

Summary: enhance redfish finder to support parsing of multiple type 42 blocks in smbios
Product: Red Hat Enterprise Linux 8 Reporter: Neil Horman <nhorman>
Component: redfish-finderAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Rachel Sibley <rasibley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: core-kernel-mgr, tbowling
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 20:53:59 UTC Type: Enhancement
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: 1671421    

Description Neil Horman 2019-05-31 15:39:03 UTC
DMTF has recently updated the spec to allow for multiple type 42 blocks in SMBIOS.  Enhance redfish finder to parse them all and merge them

Comment 2 Neil Horman 2019-07-01 16:15:59 UTC
https://src.osci.redhat.com/rpms/redfish-finder/pull-request/1

Ready to merge when the bz is approved

Comment 5 Rachel Sibley 2019-09-25 16:37:24 UTC
Verified redfish-finder service starts successfully and entry is added to /etc/hosts

~]# rpm -q redfish-finder
redfish-finder-0.3-3.el8.noarch

~]# systemctl enable redfish-finder
Created symlink /etc/systemd/system/multi-user.target.wants/redfish-finder.service → /usr/lib/systemd/system/redfish-finder.service.

~]# 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; enabled; vendor preset: disabled)
   Active: active (exited) since Wed 2019-09-25 12:29:48 EDT; 22s ago
 Main PID: 20455 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 26213)
   Memory: 0B
   CGroup: /system.slice/redfish-finder.service

Sep 25 12:29:48  redfish-finder[20455]: Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/A>
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Getting dmidecode info
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Unexpected error parsing ServiceConfig
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Building NetworkManager connection info
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Obtaining OS config info
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Converting SMBIOS Host Config to NetworkManager Connection info
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Applying NetworkManager connection configuration changes
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Adding redfish host info to OS config
Sep 25 12:29:48  redfish-finder[20455]: redfish-finder: Done, BMC is now reachable via hostname redfish-localhost
Sep 25 12:29:48  systemd[1]: Started Redfish host api discovery service.

~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
<redacted>  redfish-localhost XCC-7X09-0123456789

Comment 7 errata-xmlrpc 2019-11-05 20:53:59 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, 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