Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1785223

Summary: Update from z3 to z9 doesn't install tmpwatch package and it causes the failure of logrotate to container logs.
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: openstack-tripleo-heat-templatesAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: jhajyahy, mburns
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-10.6.3-0.20191219220453.4c907fa.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-05 12:01:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cédric Jeanneret 2019-12-19 12:25:07 UTC
This bug was initially created as a copy of Bug #1781439

I am copying this bug because: 
Need a backport for OSP-15 as well


Description of problem:
Update from z3 to z9 doesn't install tmpwatch package and it causes the failure of logrotate to container logs.

The current RHOSP13 T-H-T doesn't include the update_task that installs tmpwatch package.
The new overcloud image includes tmpwatch in it. However, z3 or earlier images didn't contain the package.
It means that T-H-T should have the task in update procedure.

Version-Release number of selected component (if applicable):
The latest RHOSP13 T-H-T

How reproducible:
Always

Steps to Reproduce:
1. Update overcloud node.
2. Check whether following error exists.
~~~
container-tmpwatch:/etc/cron.daily/containers-tmpwatch: line 2: tmpwatch: command not found
~~~
3.

Actual results:
tmpwatch is not installed.

Expected results:
tmpwatch is installed.

Additional info:

Comment 2 Jad Haj Yahya 2020-01-30 08:44:29 UTC
tmpwatch package was installed

below error not found:
container-tmpwatch:/etc/cron.daily/containers-tmpwatch: line 2: tmpwatch: command not found

Comment 4 errata-xmlrpc 2020-03-05 12:01:54 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, 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-2020:0643