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.
Description of problem:
I use systemd-journal upload service to send logs from multiple virtual machines (senders) to a single virtual machine (receiver) which uses systemd-journal remote service. There are 9 sender virtual machines sending to 1 receiver virtual machine.
There is a bug in the code of journal-remote service. Instead of writing each virtual machine's (sender) hostname to the beginning of the .journal under /var/log/journal/remote, it writes the local hostname (i.e. the receiver virtual machine's hostname and not the sender's hostname.
From testing, it seems that each virtual machine (sender) is trying to write to a single .journal file under /var/log/journal/remote which appears to cause a corrupted journal remote service.
I have also noticed that possibly due to this corruption the disk space (of receiver) is quickly filled (available disk space is about 17G and journalctl --disk-usage in each sender node is pretty low ~30MB so this does not justify such a fast filling of 17G disk space)
By monitoring with journalctl -f each sender VM I also noticed that they did not log locally too fast.
Version-Release number of selected component (if applicable):
systemctl --version
systemd 219
How reproducible:
it is reproducible each time you want to send from many virtual machines to a single one via journal-upload and remote services
Actual results:
remote-receiver_hostname.internalnet.localdomain@*****.journal
Expected results:
remote-sender1_hostname.internalnet.localdomain@*****.journal
remote-sender2_hostname.internalnet.localdomain@*****.journal
Additional info:
I'm having this issue as well. It appears this is fixed in:
https://github.com/systemd/systemd/pull/2078
This was initially reported by the same person in:
https://github.com/systemd/systemd/issues/1387
I'm guessing Red Hat hasn't pulled this yet, so it'd probably be a good idea to do that.
@angsak, I believe this issue may have gotten lost in the ether given that it was filed (incorrectly) under 'Bugtool'. Hopefully, someone can move it so we can get the ball rolling :)
Ok so I moved to the correct component, and it did set severity to urgent by itself, and a few stuff regarding 'rc'. I am not sure of the right value, so I let them like this for triaging later.
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 (Low: systemd security and bug fix 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/RHSA-2020:4007