Bug 1949487

Summary: Anaconda should explicitly log if the installation finished successfully
Product: Red Hat Enterprise Linux 8 Reporter: Zdenek Veleba <zveleba>
Component: anacondaAssignee: Vladimír Slávik <vslavik>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.4CC: jkonecny, jstodola, pkotvan, rvykydal, sbueno
Target Milestone: betaKeywords: Triaged
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-33.16.5.3-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1955312 (view as bug list) Environment:
Last Closed: 2021-11-09 18:42:11 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zdenek Veleba 2021-04-14 12:07:17 UTC
Anaconda should at the end of installation explicitly log if the installation finished successfully or not.

For example, when monitoring installation via /dev/virtio-ports/org.fedoraproject.anaconda.log.0 there is no clear indication if the installation was successful or not.

Comment 4 Vladimír Slávik 2021-05-12 12:28:21 UTC
The key problem is that from the installer perspective, work is done after the queue of tasks is empty. But copying the logs is one of the tasks, so no further log messages are "saved". There is already something logged (only in GUI), and by inspecting the installed system, you can never see it. Thus:

1) Is it enough to have this message in the usual place, journal/syslog? (I assume so, because that's what goes into the virtio port after all.)

2) Is just "appears in log" good enough, or are you asking to have this message saved on the installed system too?

Comment 5 Zdenek Veleba 2021-05-14 10:14:02 UTC
In general it would be nicer to have this in log on the installed system, but I understand the limitations and for our purposes it is enough if it appears on console/syslog during the installation.

Comment 6 Jiri Konecny 2021-05-20 09:28:18 UTC
What about adding two messages. One which won't be part of the installed system but it will be really the end of the installation and second, which will be stored to the installed system.

Comment 7 Vladimír Slávik 2021-05-24 12:17:01 UTC
PR on github: https://github.com/rhinstaller/anaconda/pull/3404

Comment 11 Zdenek Veleba 2021-07-23 09:30:30 UTC
Pre-verified with anaconda 33.16.5.3-1.el8 in RHEL-8.5.0-20210718.d.2

Comment 18 errata-xmlrpc 2021-11-09 18:42:11 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 (anaconda 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-2021:4254