Bug 1216988 - [RFE] Ability to enable/disable debug mode per openstack service
Summary: [RFE] Ability to enable/disable debug mode per openstack service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: Director
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: Upstream M2
: 12.0 (Pike)
Assignee: Emilien Macchi
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks: 1442136 1469574
TreeView+ depends on / blocked
 
Reported: 2015-04-29 11:24 UTC by Ofer Blaut
Modified: 2018-02-05 19:02 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.0-0.20170616123155.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 20:33:46 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1634567 0 None None None 2016-10-18 16:06:44 UTC
OpenStack gerrit 467698 0 None MERGED Ability to enable/disable debug mode per OpenStack service 2020-02-17 21:47:30 UTC
OpenStack gerrit 474207 0 None MERGED Document composable-debug feature 2020-02-17 21:47:30 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

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


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