An old host name of a Red Hat Enterprise Linux is sent to an FC switch via FDMI.
Issue
- When reviewing the list of hosts connected to an FC switch with a command similar to "fdmishow", an old hostname appears for some Red Hat Enterprise Linux hosts (instead of the one currently set in /etc/hostname or via hostnamectl)
- After changing the hostname of a server from
hostname-oldtohostname-new, the FDMI hostname of HBA driver is not getting updated. SAN Switches is still showhostname-old. - FDMI data displays localhost instead of actual hostname
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat CoreOS (RHCOS) based on Red Hat Enterprise Linux 9
- QLogic/Marvell HBAs using the qla2xxx driver
- The same issue can theoretically appear with:
- other HBA models
- other RHEL or RHCOS versions
- Red Hat Enterprise Linux 6 with the
hostnameboot parameter (non default setup)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.