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:
libvirt-guests service gets scattered incomplete log msgs
Version-Release number of selected component (if applicable):
systemd-239-54.el8.x86_64
libvirt-7.10.0-1.module+el8.6.0+13502+4f24a11d.x86_64
qemu-kvm-6.1.0-5.module+el8.6.0+13430+8fdd5f85.x86_64
kernel-4.18.0-353.el8.x86_64
How reproducible:
100%
Steps to Reproduce:
1.Start 2 vms
2. # systemctl stop libvirt-guest s&
# systemctl status libvirt-guests
3.# systemctl start libvirt-guests &
# systemctl status libvirt-guests
Dec 06 06:40:18 host*** libvirt-guests.sh[232829]: R
Dec 06 06:40:18 host*** libvirt-guests.sh[232848]: R
Dec 06 06:40:19 host*** libvirt-guests.sh[232848]: esuming guest avocado-vt-vm1:
Dec 06 06:40:19 host*** libvirt-guests.sh[232928]: esum
Dec 06 06:40:19 host*** libvirt-guests.sh[232829]: e
Dec 06 06:40:19 host*** libvirt-guests.sh[232935]: e
Dec 06 06:40:20 host*** libvirt-guests.sh[232935]: esuming guest avocado-vt-vm2:
Dec 06 06:40:20 host*** libvirt-guests.sh[233016]: esum
Dec 06 06:40:20 host*** libvirt-guests.sh[232829]: e
Dec 06 06:40:20 host*** systemd[1]: Started Suspend/Resume Running libvirt Guests.
Actual results:
Expected results:
Additional info:
1. Not reproduce on systemd-239-51.el8.x86_64
2. And other examples:
Dec 6 00:08:56 host** libvirt-guests.sh[52660]: Shutdown of guest avocado-vt-vm1 complete.
Dec 6 00:08:56 host** libvirt-guests.sh[52525]: S
Dec 6 00:08:51 host** libvirt-guests.sh[52551]: hutting down guests on
Dec 6 00:08:51 host** libvirt-guests.sh[52525]: h
Dec 6 00:08:51 host** libvirt-guests.sh[52558]: h
Dec 6 00:08:51 host** libvirt-guests.sh[52558]: tarting shutdown on guest: avocado-vt-vm
Dec 6 00:08:52 host** libvirt-guests.sh[52525]: tWaiting for guest avocado-vt-vm1 to shut down, 300 seconds left
Dec 06 08:08:32 host*** libvirt-guests.sh[7220]: Run, yqz-vm2
Dec 06 08:08:32 host*** libvirt-guests.sh[7263]: Suspending guests on default URI...
Dec 06 08:08:32 host*** libvirt-guests.sh[7220]: SSuspending yqz: ...
This is probably caused by https://github.com/redhat-plumbers/systemd-rhel8/pull/222 (fix for bug 1931806).
A minimal reproducer:
== /etc/systemd/system/test.service ==
[Service]
ExecStart=/usr/local/bin/test.sh
StandardOutput=journal+console
== /usr/local/bin/test.sh ==
#!/bin/sh
for i in 1 2; do
gettext "My hovercraft is full of eels."
echo
done
Yes, I can reproduce with comment2:
# chmod 744 /usr/local/bin/test.sh
# systemctl start test
# systemctl status test
● test.service
Loaded: loaded (/etc/systemd/system/test.service; static; vendor preset: disabled)
Active: inactive (dead)
Dec 07 22:01:08 host*** systemd[1]: Started test.service.
Dec 07 22:01:08 host*** test.sh[334326]: My hovercraft is full of eels.
Dec 07 22:01:08 host*** test.sh[334325]: M
Dec 07 22:01:08 host*** test.sh[334327]: M
Dec 07 22:01:08 host*** test.sh[334327]: y hovercraft is full of eels
Dec 07 22:01:08 host*** test.sh[334325]: y
Dec 07 22:01:08 host*** systemd[1]: test.service: Succeeded.
Comment 4Yiding Liu (Fujitsu)
2021-12-10 07:40:33 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 (systemd 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-2023:2985