Bug 2229287

Summary: [RHEL 8.8] Kdump fails over NFS when using FQDN name if the system has two interfaces.
Product: Red Hat Enterprise Linux 8 Reporter: rcheerla
Component: kexec-toolsAssignee: Coiby <coxu>
Status: CLOSED ERRATA QA Contact: xiaoying yan <yiyan>
Severity: unspecified Docs Contact:
Priority: high    
Version: 8.8CC: coxu, jieli, prudo, ruyang, xiawu
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kexec-tools-2.0.26-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2232699 (view as bug list) Environment:
Last Closed: 2023-11-14 15:47:10 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: 2232699    

Description rcheerla 2023-08-04 18:58:50 UTC
Description of problem: [RHEL 8.8] Kdump fails over NFS when using FQDN name if the system has two interfaces(NIC1 used to reach the NFS server and NIC2 used to reach DNS server).

Version-Release number of selected component (if applicable):

kexec-tools-2.0.25-5.el8_8.1.x86_64

How reproducible: Always in customer system. 


Steps to Reproduce:
1. On RHEL 8.8 system which is having 2 NIC cards, and both should be in two different network range. 
2. For example, NIC1 IP should be within the range of DNS server's IP, NIC2 IP should be within the range of NFS server's IP. 
3. install kexec-tools-2.0.25-5.el8_8.1.x86_64
4. Mount the NFS share with FQDN name, also add the entry in /etc/fstab file with FQDN name.
5. Add the nfs entry in /etc/kdump.conf file with FQDN name. 

~~~
default reboot
nfs <FQDN-name>:/nfsdump  
path /nfsdump
core_collector makedumpfile -c --message-level 1 -d 1
~~~


Actual results:

[   70.737299] kdump[548]: dump path "/kdumproot/nfsdump" is not mounted, trying to mount...
[   70.765322] kdump.sh[550]: mount.nfs: Failed to resolve server FQDN-name-of-nfs-server: Name or service not known    <<<-------
[   70.810298] kdump[552]: failed to dump to "/kdumproot/nfsdump", it's not a mount point!
[   70.852691] kdump[554]: saving vmcore failed


Expected results:

Kdump should work as expected upon using the FQDN name. 


Additional info: 

- After downgrading the kexec-tools package to kexec-tools-2.0.24-6.el8.x86_64 the issue is not reproducible. 
- Upon looking further, I have noticed that the issue introduced in the following kexec-tools-2.0.25-3.el8.x86_64.rpm  package. 
  The BZ is https://bugzilla.redhat.com/show_bug.cgi?id=1950282

Comment 22 errata-xmlrpc 2023-11-14 15:47:10 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 (kexec-tools bug fix and enhancement update), 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-2023:7080