Allow easy setting of per-service debug

Bug #1634567 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Wishlist
Emilien Macchi

Bug Description

We currently only support two ways of setting debug for services

1. Global debug (all services, all roles)

  parameter_defaults:
    Debug: true

2. Per service debug via hieradata overrides

  parameter_defaults:
    ControllerExtraConfig:
      heat::debug: true

It would be nice to offer an easy way to enable per-service debug without relying on knowledge of the puppet interfaces.

Steven Hardy (shardy)
Changed in tripleo:
milestone: none → ocata-3
status: New → Triaged
importance: Undecided → Wishlist
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/467698

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/467698
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1e899703ccc33a9b24c4b0997b04cee1df37575d
Submitter: Jenkins
Branch: master

commit 1e899703ccc33a9b24c4b0997b04cee1df37575d
Author: Emilien Macchi <email address hidden>
Date: Wed May 24 13:42:07 2017 -0400

    Ability to enable/disable debug mode per OpenStack service

    Add ServiceDebug parameters for each services that will allow operators
    to enable/disable Debug for specific services.

    We keep the Debug parameters for backward compatibility.

    Operators want to enable Debug everywhere:
      Debug: true
    Operators want to disable Debug everywhere:
      Debug: false
    Operators want to disable Debug everywhere except Glance:
      GlanceDebug: true
    Operators want to enable Debug everywhere except Glance:
      Debug: true
      GlanceDebug: false

    New parameters: AodhDebug, BarbicanDebug, CeilometerDebug, CinderDebug,
    CongressDebug, GlanceDebug, GnocchiDebug, HeatDebug, HorizonDebug,
    IronicDebug, KeystoneDebug, ManilaDebug, MistralDebug, NeutronDebug,
    NovaDebug, OctaviaDebug, PankoDebug, SaharaDebug, TackerDebug,
    ZaqarDebug.

    Note: for backward compatibility in Horizon, HorizonDebug is set to
    false, so we maintain previous behavior.

    Change-Id: Icbf4a38afcdbd8471d1afc11743df9705451db52
    Implement-blueprint: composable-debug
    Closes-Bug: #1634567

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 7.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers