Bug 1715914 - enhance redfish finder to support parsing of multiple type 42 blocks in smbios
Summary: enhance redfish finder to support parsing of multiple type 42 blocks in smbios
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: redfish-finder
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.1
Assignee: Neil Horman
QA Contact: Rachel Sibley
URL:
Whiteboard:
Depends On:
Blocks: 1671421
TreeView+ depends on / blocked
 
Reported: 2019-05-31 15:39 UTC by Neil Horman
Modified: 2023-08-08 02:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 20:53:59 UTC
Type: Enhancement
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-24061 0 None None None 2023-08-08 02:45:18 UTC
Red Hat Product Errata RHBA-2019:3351 0 None None None 2019-11-05 20:54:03 UTC

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


Note You need to log in before you can comment on or make changes to this bug.