Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1255659 - [RFE] Store lvmdump (or sosreport) as the first thing after anaconda starts
[RFE] Store lvmdump (or sosreport) as the first thing after anaconda starts
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda (Show other bugs)
7.2
Unspecified Unspecified
high Severity unspecified
: rc
: ---
Assigned To: Jiri Konecny
Release Test Team
Filip Hanzelka
: FutureFeature
Depends On:
Blocks: 1395321 1427800
  Show dependency treegraph
 
Reported: 2015-08-21 05:28 EDT by Marian Csontos
Modified: 2017-08-01 04:50 EDT (History)
8 users (show)

See Also:
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 04:50:51 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2293 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2017-08-01 08:39:44 EDT

  None (edit)
Description Marian Csontos 2015-08-21 05:28:08 EDT
Analysis of storage related issues post-mortem is rather difficult as the state of the storage before anaconda changes it is unknown and has to be reverse engineered from incomplete logs (dmesg is missing systemd related messages for example.)
Comment 2 Samantha N. Bueno 2016-01-26 12:08:55 EST
We can always make sure to run lsblk by default into program.log -- that should dump a pretty good amount of useful information.
Comment 3 Jan Stodola 2016-02-03 09:01:00 EST
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
Comment 5 Michal Kovarik 2016-08-09 07:56:52 EDT
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
Comment 6 Jiri Konecny 2016-08-11 05:05:03 EDT
PR: https://github.com/rhinstaller/anaconda/pull/731
Comment 8 Peter Kotvan 2016-08-29 06:46:54 EDT
HandsOn
Comment 9 Peter Kotvan 2016-08-29 07:25:34 EDT
Verified on RHEL-7.3-20160825.1 with anaconda-21.48.22.86-1.el7.
Comment 12 Peter Kotvan 2016-08-31 01:39:07 EDT
Sounds reasonable to me.
Comment 14 Paul Wouters 2016-11-30 15:37:26 EST
note this means a package needs to depend on socat. Funny enough, currently not a single package in rhel6 or rhel7 "Requires" socat
Comment 15 Jiri Konecny 2017-02-03 11:19:04 EST
PR in Lorax to add new dependencies: https://github.com/rhinstaller/lorax/pull/181

PR to Anaconda: https://github.com/rhinstaller/anaconda/pull/947
Comment 16 Jiri Konecny 2017-02-03 11:21:34 EST
Hi Paul,

I've add dependency on nmap-ncat instead of socat. So socat is still not required.

Jirka
Comment 18 Fedora Update System 2017-04-28 09:15:29 EDT
anaconda-26.21.4-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f620d8c7c2
Comment 23 errata-xmlrpc 2017-08-01 04:50:51 EDT
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

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