Bug 1259084

Summary: Unable to override value of Debug to deployment
Product: Red Hat OpenStack Reporter: Graeme Gillies <ggillies>
Component: python-rdomanager-oscpluginAssignee: Marek Aufart <maufart>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: calfonso, dnavale, jslagle, maufart, mburns, ohochman, rhel-osp-director-maint
Target Milestone: y2Keywords: Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rdomanager-oscplugin-0.0.10-12.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the 'debug' parameter was enabled and hard-coded in the overcloud deployment code and there was no way to disable the debug mode by an user. With this update, the 'debug' parameter is removed from the default hard-coded parameters in the overcloud deployment code. As a result, the user can now control debug move in the environment file used to deploy the overcloud.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-21 16:48:31 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:

Description Graeme Gillies 2015-09-01 23:29:49 UTC
At the moment, no matter what environment file you pass in, you can't change the value of Debug that gets passed to the heat stack overcloud when you run 'openstack overcloud deploy'. This is incredibly annoying as a lot of times you don't want debug logging enabled by default

Comment 3 Marek Aufart 2015-09-16 12:32:09 UTC
Disable debug can be done by passing --no-debug flag to overcloud deploy, patch is for review. The --no-debug (or another solution) can be discussed.

Comment 4 Graeme Gillies 2015-09-17 01:27:36 UTC
Hi,

I think it possibly should be the opposite. We don't want to default to debug logging enabled, on a lot of services it is ridiculously verbose to the point of uselessness.

Likewise I'm not sure I agree that having an option to the unified CLI should be the best solution for this. We should simply allow people to change this through the templates as needed, and in fact, should allow it to be tweakable per component as there will be times I want debug enabled on say, keystone, but nothing else

Comment 5 Marek Aufart 2015-09-18 08:53:19 UTC
Hi, ok, so it might make a sense remove Debug from parameters in overcloud deploy command. Patch was updated. Would it be better?

Comment 6 Graeme Gillies 2015-09-21 00:49:06 UTC
Commented on the code review, this looks perfect to me

Regards,

Graeme

Comment 11 Udi Kalifon 2015-11-29 11:42:34 UTC
Debug on the overcloud is false. Verified with osp-d 7.2.

Comment 13 errata-xmlrpc 2015-12-21 16:48:31 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/RHSA-2015:2650