Bug 1216988

Summary: [RFE] Ability to enable/disable debug mode per openstack service
Product: Red Hat OpenStack Reporter: Ofer Blaut <oblaut>
Component: openstack-tripleo-heat-templatesAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: low    
Version: DirectorCC: achernet, aschultz, djuran, emacchi, jcoufal, lyarwood, mburns, rhel-osp-director-maint, shardy, tvignaud
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170616123155.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-13 20:33:46 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: 1442136, 1469574    

Description Ofer Blaut 2015-04-29 11:24:16 UTC
Description of problem:

We should have ability to move openstack service to debug mode and back to non debug after installation 

This requires 
1. edit service conf file
2. restart service

in HA mode we should do it to all controllers , same for compute 


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 chris alfonso 2015-07-31 18:11:55 UTC
Agreed, this is a reasonable feature to add.

Comment 6 Steven Hardy 2016-10-18 16:06:23 UTC
I raised https://bugs.launchpad.net/tripleo/+bug/1634567 to track this, but note there's already a way to do this via ExtraConfig, e.g

  parameter_defaults:
    ControllerExtraConfig:
      heat::debug: true

This requires a small amount of knowledge of the puppet hiera interfaces, but it's pretty consistent and intuitive.

We could look at adding a puppet agnostic way to do this tho, and that would have the advantage of surfacing the options to the UI via the heat parameters schema

Comment 7 Emilien Macchi 2017-02-02 03:46:51 UTC
Blueprint proposed upstream: https://blueprints.launchpad.net/tripleo/+spec/composable-debug
Target: pike-2

Comment 9 Emilien Macchi 2017-06-20 12:20:23 UTC
How to use the feature is documented here:
http://tripleo.org/troubleshooting/troubleshooting-overcloud.html#debugging-openstack-services

Comment 11 Gurenko Alex 2017-11-01 09:52:43 UTC
All tests completed, automation in place.

Comment 14 errata-xmlrpc 2017-12-13 20:33:46 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/RHEA-2017:3462