Bug 2058799

Summary: logging tests fail during cleanup if no cloud-init on system
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Jakub Haruda <jharuda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: gfialova, jharuda, nhosoi, spetrosi
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:logging
Fixed In Version: rhel-system-roles-1.18.0-1.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2058807 (view as bug list) Environment:
Last Closed: 2022-11-15 10:22:57 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:
Bug Depends On:    
Bug Blocks: 2058807    

Description Rich Megginson 2022-02-25 22:55:12 UTC
Description of problem:
The logging tests clean up by removing the config used during the test.  However, they leave /etc/rsyslog.conf like this:

$IncludeConfig /etc/rsyslog.d/*.conf

cloud-init provides /etc/rsyslog.d/21-cloudinit.conf - no other package installed by default provides a file in /etc/rsyslog.d

If cloud-init is not present, then there are no files matching /etc/rsyslog.d/*.conf, and rsyslog has an error at startup, and the tests fail.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. You have to remove cloud-init from the VM (e.g. in a _setup.yml) before running the tests.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Fedora Update System 2022-05-11 01:17:54 UTC
FEDORA-2022-2da3a47337 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2022-05-11 01:24:03 UTC
FEDORA-2022-d6e6c7c37c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-05-11 01:34:20 UTC
FEDORA-2022-671a5d63e6 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 errata-xmlrpc 2022-11-15 10:22:57 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 (rhel-system-roles 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/RHEA-2022:8117