Bug 1259084 - Unable to override value of Debug to deployment
Summary: Unable to override value of Debug to deployment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-rdomanager-oscplugin
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: y2
: 7.0 (Kilo)
Assignee: Marek Aufart
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 23:29 UTC by Graeme Gillies
Modified: 2015-12-21 16:48 UTC (History)
7 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-12-21 16:48:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 224058 0 None None None Never
Red Hat Product Errata RHSA-2015:2650 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-12-21 21:44:54 UTC

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


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