Bug 1591244
Summary: | Please add anaconda related logs to the Beaker | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jiri Hladky <jhladky> | ||||
Component: | general | Assignee: | Matt Tyson 🤬 <mtyson> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dan Callaghan <dcallagh> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | develop | CC: | dcallagh, jhladky, jkonecny, jmckenzi, kkolakow, mtyson, rjoost | ||||
Target Milestone: | 25.6 | Keywords: | EasyFix, Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-09-03 23:31:30 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: | |||||||
Attachments: |
|
Description
Jiri Hladky
2018-06-14 11:23:37 UTC
I had a quick look in our source and it doesn't seem that we're watching any of these files. If I'm not mistaken, it should be a fairly easy addition to our scripts to add these logs. This can now be tested on https://beaker-devel.app.eng.bos.redhat.com/ with Beaker 25.6.git.1.a00ec9068 Hmm, I don't see the new logs. Could you please check this job https://beaker-devel.app.eng.bos.redhat.com/jobs/14932 I will also post here a screenshot. I don't see any of these logs: dnf.librepo.log hawkey.log lvm.log Thanks Jirka Created attachment 1470557 [details] Screenshot of logs for RHEL-8 installation https://beaker-devel.app.eng.bos.redhat.com/jobs/14932 (In reply to Jiri Hladky from comment #4) You are looking in the wrong place. Those are the logs from /distribution/install which collects a random grab-bag of hardware info and some RHEL5 era Anaconda logs. (If you are interested in what it actually does, and the new replacement task I wrote instead, have a look at bug 1188539.) All the installation logs collected by Anamon are shown on the Installation tab. In your recipe I see that it has indeed successfully collected dnf.librepo.log, hawkey.log, and lvm.log in addition to all the other usual Anaconda logs. I have also confirmed that yum.log appears on RHEL6, for example: https://beaker-devel.app.eng.bos.redhat.com/recipes/25163#installation However, yum.log is missing from RHEL7 recipes. I need to check if Anaconda actually produces that or if the name is perhaps different. On RHEL7 there is no /tmp/yum.log. There is a 0-byte file at /tmp/yum.root/tmp/yum.log. Running lsof on the anaconda-yum process while it is running shows that the only log files it has open are /mnt/sysimage/tmp/yum.log and /tmp/rpm-script.log. At the end of the installation /mnt/sysimage/tmp/yum.log is 0 bytes, nothing was written to it. In /tmp/rpm-script.log I just see a sequential list of package installations, basically the same as what Anaconda prints to the console: warning: filesystem-3.2-25.el7.x86_64: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY libgcc-4.8.5-28.el7.x86_64 (1/601) 1:grub2-common-2.02-0.65.el7_4.2.noarch (2/601) redhat-release-server-7.5-8.el7.x86_64 (3/601) setup-2.8.71-9.el7.noarch (4/601) [...] so I don't see any value in that. Comparing against RHEL6, I see that yum.log on RHEL6 has Python logging messages from yum, but on RHEL7 these already appear in the packaging.log which Beaker was already collecting. I didn't see packaging.log in the lsof output of the anaconda-yum process while I was watching it, so I assume that on RHEL7 the yum messages are somehow passed back to the main Anaconda process which logs them to packaging.log. Therefore I think we are already collecting everything that was requested in this bug. My mistake - I'm sorry about that. Everything is fine. Thanks! Jirka This has been released with Beaker 25.6. Release Notes: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-6 |