Bug 1561188

Summary: [OSP13] Make HA services log in /var/log/containers like paunch-managed services
Product: Red Hat OpenStack Reporter: Damien Ciabrini <dciabrin>
Component: openstack-tripleo-heat-templatesAssignee: Damien Ciabrini <dciabrin>
Status: CLOSED ERRATA QA Contact: Udi <ukalifon>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: chjones, jschluet, mburns, michele, mkrcmari, rhel-osp-director-maint
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: openstack-tripleo-heat-templates-8.0.2-0.20180327213843.f25e2d8.el7ost puppet-tripleo-8.3.2-0.20180327181745.40b702f.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:49:05 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:

Description Damien Ciabrini 2018-03-27 20:46:05 UTC
Description of problem:
In OSP12, services managed by pacemaker log by default under /var/log/pacemaker/bundles/{service}-{replica}

This is different from all other paunch-managed services, and make service log be split into sub-directories /var/log/pacemaker/bundles/{service}-* 

Moreover this is not consistent across pacemaker service, because some service forcibly log into other location.

Make the default logging of HA service belong under /var/log/containers like all other paunch-managed services.

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

How reproducible:

Steps to Reproduce:
1. Deploy OSP12
2. Upgrade to OSP13

Actual results:
logs are stored under /var/log/pacemaker/bundles/{service}-{replica}

Expected results:
New deployments should log under /var/log/containers/{service} 
Major upgrade should change the logging location to /var/log/containers/{service}

Additional info:
This bz track fixes in puppet-tripleo and tripleo-heat-templates

Comment 4 errata-xmlrpc 2018-06-27 13:49:05 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.