Bug 1588262 - Rsyslog should be restarted after undercloud installation
Summary: Rsyslog should be restarted after undercloud installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 13.0 (Queens)
Assignee: Christian Schwede (cschwede)
QA Contact: Tzach Shefi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-07 01:58 UTC by Shinobu KINJO
Modified: 2021-12-10 16:33 UTC (History)
8 users (show)

Fixed In Version: instack-undercloud-8.4.3-6.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-13 22:26:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1781350 0 None None None 2018-07-12 07:44:22 UTC
OpenStack gerrit 581990 0 None master: MERGED instack-undercloud: Restart rsyslog after installing Swift (Id5a6083f5dc3f8c569e0d0778722c1e52ff7cdef) 2018-10-15 14:29:35 UTC
Red Hat Issue Tracker OSP-11426 0 None None None 2021-12-10 16:33:34 UTC
Red Hat Product Errata RHBA-2018:3587 0 None None None 2018-11-13 22:27:19 UTC

Comment 1 Steve Baker 2018-06-11 20:34:54 UTC
Assigning to DFG:Storage for triage, maybe the restart should be handled by puppet-swift

Comment 2 Christian Schwede (cschwede) 2018-06-13 20:25:46 UTC
I just installed a fresh OSP12 environment, but can't reproduce this - Swift is logging correctly to /var/log/swift/swift.log in my environment.

Shinobu, can you share more information with me please? How did you install it, which zstream release etc.? That would be helpful to reproduce this issue and find the root cause. Thx!

Comment 5 Keigo Noha 2018-06-19 02:36:13 UTC
Hello Christian,

I tried to install undercloud on my KVM env.
And the issue can be reproduced.

The using RHOSP12 is current latest release via Red Hat Customer Portal.
I did steps written in https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/director_installation_and_usage/

Comment 15 Christian Schwede (cschwede) 2018-08-09 09:54:35 UTC
Upstream backport merged: https://review.openstack.org/#/c/587696/

Comment 26 Tzach Shefi 2018-10-31 11:56:01 UTC
Verified on:
instack-undercloud-8.4.6-2.el7ost.noarch

[stack@undercloud-0 ~]$ sudo cat /etc/rsyslog.d/openstack-swift.conf
# LOCAL2 is what Swift gets in RHOS and RDO if installed with Packstack (also,
# in docs).  The breakout action prevents logging into /var/log/messages,
# bz#997983.
local2.*                 /var/log/swift/swift.log
&                        stop

This is fixed ^ as was before. 

But now when I tail or tailf swift's log I see log progressing. 
No Swift restart was needed, OK to verify.  

[stack@undercloud-0 ~]$ sudo tail /var/log/swift/swift.log 
Oct 31 07:50:14 undercloud-0 account-server: 192.168.24.1 - - [31/Oct/2018:11:50:14 +0000] "HEAD /1/97/.expiring_objects" 204 - "HEAD http://localhost/v1/.expiring_objects?format=json" "tx0970fad9f0684651ab08d-005bd996f6" "proxy-server 19877" 0.0023 "-" 21630 -
Oct 31 07:50:14 undercloud-0 object-expirer: Pass beginning; 0 possible containers; 0 possible objects (txn: tx0970fad9f0684651ab08d-005bd996f6)
Oct 31 07:50:14 undercloud-0 account-server: 192.168.24.1 - - [31/Oct/2018:11:50:14 +0000] "GET /1/97/.expiring_objects" 200 2 "GET http://localhost/v1/.expiring_objects?marker=&prefix=&end_marker=&format=json" "txc7f2745dbd2c4dbbb3002-005bd996f6" "proxy-server 19877" 0.0020 "-" 21630 -
Oct 31 07:50:14 undercloud-0 object-expirer: Pass completed in 0s; 0 objects expired (txn: txc7f2745dbd2c4dbbb3002-005bd996f6)

Comment 29 errata-xmlrpc 2018-11-13 22:26:39 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-2018:3587


Note You need to log in before you can comment on or make changes to this bug.