Bug 1255659
| Summary: | [RFE] Store lvmdump (or sosreport) as the first thing after anaconda starts | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Marian Csontos <mcsontos> | |
| Component: | anaconda | Assignee: | Jiri Konecny <jkonecny> | |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
| Severity: | unspecified | Docs Contact: | Filip Hanzelka <fhanzelk> | |
| Priority: | high | |||
| Version: | 7.2 | CC: | jkonecny, jstodola, mbanas, mkovarik, pkotvan, pwouters, salmy, sbueno | |
| Target Milestone: | rc | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | anaconda-21.48.22.100-1 | Doc Type: | Enhancement | |
| Doc Text: |
"inst.debug" enables a more convenient debugging of *Anaconda* installation issues
This update adds the ability to save logs related to the initial state of the machine by starting the *Anaconda* installation with the "inst.debug" boot option. This option stores three additional logs, *lsblk*, *dmesg* and *lvmdump*, in the `/tmp/pre-anaconda-logs/` directory, allowing a more convenient debugging of issues which occurred during the installation.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1427800 (view as bug list) | Environment: | ||
| Last Closed: | 2017-08-01 08:50:51 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: | 1395321, 1427800 | |||
|
Description
Marian Csontos
2015-08-21 09:28:08 UTC
We can always make sure to run lsblk by default into program.log -- that should dump a pretty good amount of useful information. It might also be useful to run lvdisplay/vgdisplay/pvdisplay or cat /proc/mdstat. Some inspiration can be found in dracut's rdsosreport.sh: http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/modules.d/99base/rdsosreport.sh Tested on RHEL-7.3-20160729.1 with anaconda-21.48.22.81-1. Service anaconda-pre.service is not available. [anaconda root@localhost /] readlink /usr/lib/systemd/system/anaconda.target.wants/anaconda-pre.service /lib/systemd/system/anaconda-pre.service [anaconda root@localhost /] ls /lib/systemd/system/anaconda-pre.service ls: cannot access /lib/systemd/system/anaconda-pre.service: No such file or directory HandsOn Verified on RHEL-7.3-20160825.1 with anaconda-21.48.22.86-1.el7. Sounds reasonable to me. note this means a package needs to depend on socat. Funny enough, currently not a single package in rhel6 or rhel7 "Requires" socat PR in Lorax to add new dependencies: https://github.com/rhinstaller/lorax/pull/181 PR to Anaconda: https://github.com/rhinstaller/anaconda/pull/947 Hi Paul, I've add dependency on nmap-ncat instead of socat. So socat is still not required. Jirka anaconda-26.21.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f620d8c7c2 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-2017:2293 |