Bug 1469574

Summary: [Docs][RFE][Director] Ability to enable/disable debug mode per openstack service
Product: Red Hat OpenStack Reporter: Dan Macpherson <dmacpher>
Component: documentationAssignee: Dan Macpherson <dmacpher>
Status: CLOSED CURRENTRELEASE QA Contact: Charelle Collett <ccollett>
Severity: medium Docs Contact:
Priority: low    
Version: 12.0 (Pike)CC: agurenko, lbopf, mburns, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-19 04:20:29 UTC Type: ---
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: 1216988    
Bug Blocks:    

Description Dan Macpherson 2017-07-11 14:05:44 UTC
== DECRIPTION ==
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 

== DOCS IMPACT ==
Requires documentation in Advanced Overcloud Guide on how to enable Debug mode. Also the Overclud Parameters guide needs to be refreshd to include these parameters

Comment 1 Dan Macpherson 2017-11-21 00:56:19 UTC
*** Bug 1515168 has been marked as a duplicate of this bug. ***

Comment 5 Dan Macpherson 2017-11-23 01:42:32 UTC
Alex, would you be able to take a look at the content items in comment #3 and let me know if I've missed anything?

Comment 6 Charelle Collett 2017-11-29 14:37:02 UTC
Just checking `DEBUG` level logging and the `Debug` parameter are capitalised differently?  If that's correct then it looks good to me. :)

Comment 7 Gurenko Alex 2017-11-29 16:17:05 UTC
(In reply to Charelle Collett from comment #6)
> Just checking `DEBUG` level logging and the `Debug` parameter are
> capitalised differently?  If that's correct then it looks good to me. :)

Yes, that's actually correct DEBUG is how it appears in logs, Debug or <Service>Debug is how you use it.

Everything looks good, except I'm actually not sure about this one "All per-service debug modes are enabled by default except for the OpenStack Dashboard (horizon)."

Comment 8 Dan Macpherson 2017-11-30 01:20:37 UTC
Alex, you're right. It didn't seem right to me. I think I got mixed up when I saw the HorizonDebug was the only one that explicitly set the default to False. On further investigation, they're all false by default (via the Puppet params).

Will remove this line from the doc.

Comment 10 Dan Macpherson 2017-11-30 01:37:45 UTC
Fix implemented.

If there's nothing else, I'll switch this BZ to VERIFIED.