Bug 1618601
| Summary: | [Undercloud] logrotate configuration for openstack-keystone doesn't contain copytruncate option | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Keigo Noha <knoha> | |
| Component: | openstack-keystone | Assignee: | Moises Guimaraes <moguimar> | |
| Status: | CLOSED ERRATA | QA Contact: | Pavan <pkesavar> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 13.0 (Queens) | CC: | hrybacki, jschluet, mariel, moguimar, nkinder, srevivo | |
| Target Milestone: | zstream | Keywords: | Triaged, ZStream | |
| Target Release: | 13.0 (Queens) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-keystone-13.0.2-2.el7 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1644479 (view as bug list) | Environment: | ||
| Last Closed: | 2019-01-16 17:56:28 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: | 1644479 | |||
proposed for rpm-master similar to other patches that have already been proposed for same topic. It will need reviewed, merge and backported to rdo/queens-rdo branch as well Hello Jon, Thank you for your work on this bugzilla. Could you ping the gerrit for RDO to proceed this bugzilla forward? Hello Jon, In RDO, we havn't had an update for 1 week. Could you ping them to move this bugzilla forward? Best Regards, Keigo Noha Harry, Can you look into and chime in on the RDO Reviews please? Our RDO folk is out until Monday. I've pinged Alan for an assist and identified a second team member to start spooling up on midstream stuff. Removing RDO tracker for this bug (queens) until we merge the first patch (rocky) and create as basckport for queens. Hello Moises, In the RDO, we don't have any progress for more 2 weeks. Could you ask them to move it forward? Best Regards, Keigo Noha Hi Keigo, The patches were merged yesterday in RDO and the automatic builds of CentOS packages is already complete: http://cbs.centos.org/koji/packageinfo?packageID=187 The latest two versions stands for Rocky and Queens new releases of keystone: openstack-keystone-14.0.1-2.el7 openstack-keystone-13.0.2-2.el7 Best Regards, Moisés Guimarães Hello Moisés, Thank you for your update and work on RDO. Could you open an internal gerrit to merge the fix into RHOSP13 tree? Best Regards, Keigo Noha Hi Keigo, The fix has been merged to rhos-13.0-rhel-7. Best Regards, Moisés Guimarães 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-2019:0090 |
Description of problem: logrotate configuration for openstack-keystone doesn't contain copytruncate option in undercloud. ~~~ # cat openstack-keystone /var/log/keystone/*.log { rotate 14 size 10M missingok compress } ~~~ It will cause the original file is not properly handled. nova has copytruncate option in its conf file. ~~~ /var/log/nova/*.log { rotate 14 size 10M missingok compress copytruncate } ~~~ Version-Release number of selected component (if applicable): openstack-keystone-13.0.1-1.el7ost.src.rpm How reproducible: Everytime Steps to Reproduce: 1. Install Undercloud and run logrotate. 2. 3. Actual results: keystone's log is not written to the new file after logrotation. Expected results: copytruncate will solve the situation. Additional info: