Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
1. Proposed title of this feature request
Include imageio/daemon.log and ovirt-imageio-proxy/image-proxy.log in Log Collector (sosreport) output
3. What is the nature and description of the request?
Need to include imageio/daemon.log and ovirt-imageio-proxy/image-proxy.log in Log Collector (sosreport) output
4. Why does the customer need this?
For customers having trouble with the disk upload feature, these logs are necessary for further troubleshooting. Not including these logs be default causes unnecessary back-and-forth
5. How would the customer like to achieve this? (List the functional requirements here)
Relevant plugins need to be modified or created:
rhevm:
/var/log/ovirt-imageio-proxy/image-proxy.log*
host/hypervisors:
/var/log/ovirt-imageio-daemon/daemon.log*
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- generate Log Collector
- confirm above files are included
7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No
8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
No
9. Is the sales team involved in this request and do they have any additional input?
No
10. List any affected packages or components.
sos (RHEL7 repo)
ovirt-log-collector (rhel-7-server-rhv-4.0-rpms repo)
11. Would the customer be able to assist in testing this functionality if implemented?
It's easy to test, but I am happy to assist if required.
Re-scheduling for potential inclusion in 7.5 (7.4 is in testing phase already).
Some questions:
1) How to detect a system that is expected to have those logfiles? (i.e. if I want to collect /var/log/httpd, I can do so if and only if httpd package is installed)? What package presence on the system shall trigger collecting either of the logs?
2) Shall the logs be collected completed, or just until some log size limit (in case there are plenty of older logs, shall we skip collecting the oldest?)?
3) Can't be there some secret (password, private key,..) in the logs? I guess no and I dont require detailed analysis, since logs usually dont contain customer sensitive information, but if it is known there is something to obfuscate / what customers wont like to share, please describe.
> 1) How to detect a system that is expected to have those logfiles?
for host/hypervisor - ovirt-imageio-daemon
for rhevm - ovirt-imageio-proxy
> 2) Shall the logs be collected completed, or just until some log size limit
The logs aren't too verbose, so getting everything should be fine
> 3) Can't be there some secret (password, private key,..) in the logs?
I can't see any username/passwords, nor anything that would not be included in Log Collector/sosreport anyway
I dont think this shall be glued into either "base" ovirt plugin or ovirt_hosted_engine or even libvirt/virsh/.. plugins, sicne my understanding is ovirt imageio is an optional part of ovirt - am I right?
So I would suggest creating a new plug-in that will be enabled by presence of _either_ ovirt-imageio-daemon or ovirt-imageio-proxy packages, and will collect both logfiles (it is expected just one such logfile to exist but that's no issue for sos - it does not attempt to collect non-existing files).
Is there some command output or a config file worth to gather as well by the new plugin?
Hi Pavel,
I believe, it's optional. Yes I agree with with your suggestion. Additional config files worth grabbing:
/etc/ovirt-imageio-daemon/logger.conf [ from the daemon ]
/etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf [ from the proxy ]
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/RHEA-2018:0963