Bug 1196085
| Summary: | Kdump over network requires DNS1 variable set | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Zdenek Pytela <zpytela> |
| Component: | kexec-tools | Assignee: | Minfei Huang <mhuang> |
| Status: | CLOSED ERRATA | QA Contact: | Qiao Zhao <qzhao> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | jherrman, mhuang, nbansal, ruyang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kexec-tools-2.0.7-27.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Due to incorrect DNS settings in the /etc/resolv.conf file, automatic network uploads of the vmcore dump file previously failed. This update modifies /etc/resolv.conf to allow DNS resolving to work properly. As a result, kdump now uploads the vmcore file successfully.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 03:46:41 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: | 1133060, 1205790 | ||
|
Description
Zdenek Pytela
2015-02-25 09:38:10 UTC
(In reply to Zdenek Pytela from comment #0) > Description of problem: > > Kdump over network requires DNS1 variable set in interface config file to > have name resolving working. /etc/resolv.conf is not copied to initramfs. > Configuration is static, NM is not used. > > Version-Release number of selected component (if applicable): > kexec-tools-2.0.4-32.el7_0.5.x86_64 > dracut-033-161.el7_0.173.x86_64 > > > How reproducible: > always > > > Steps to Reproduce: > 1. Set up /etc/kdump.conf with > ssh kdump@FQDN > 2. Properly set interface with BOOTPROTO=static and no DNS lines, set > /etc/resolv.conf Why did you set the config to the /etc/resolv.conf, not to the interface config file? If so, kdump will work well. Thanks Minfei > 3. Start kdump service > 4. Crash the kernel > > > Actual results: > Vmcore is not uploaded as DNS resolving does not work > > > Expected results: > Vmcore is uploaded > > > Additional info: > Adding DNS1= file into ifcfg file makes the service working. Customer decided to use resolv.conf for domain name resolution. This is perfectly valid. We would like to have kdump working with this configuration. (In reply to Zdenek Pytela from comment #5) > Customer decided to use resolv.conf for domain name resolution. This is > perfectly valid. We would like to have kdump working with this configuration. Hi, Zdenek. I am curious that why the customer uses resolv.conf, instead of the interface configuration file. Also kdump can work if both resolv.conf and interface file are configured. Thanks Minfei Customer has his own reasons - global deployment of the file (with puppet, but it's not important). Anyway, this approach is valid as resolv.conf can be a primary configuration file. 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://rhn.redhat.com/errata/RHBA-2015-2182.html |