Bug 958152

Summary: openstack-packstack: packstack sets 'verbose' to 'false' in nova.conf - api.log and network.log remains empty after packstack installation.
Product: [Community] RDO Reporter: Omri Hochman <ohochman>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Nir Magnezi <nmagnezi>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: aortega, bsettle, derekh, mmagr
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2013.2.1-0.1.dev691.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Omri Hochman 2013-04-30 13:56:31 UTC
openstack-packstack: packstack sets 'verbose' to 'false' in nova.conf - api.log  and network.log remains empty after packstack installation. 


Environment: 
------------
openstack-packstack-2013.1.1-0.5.dev538.el6.noarch
openstack-cinder-2013.1-2.el6.noarch
openstack-nova-compute-2013.1-2.el6.noarch
openstack-nova-cert-2013.1-2.el6.noarch
openstack-nova-network-2013.1-2.el6.noarch


Description: 
--------------
After RDO packstack installation, I noticed the api.log and network.log remained empty unlike RHOS Folsom earlier builds, apparently there was a change in log semantic, but even when setting verbose=true and running packstack it seems that by default it changes the verbose flag to false in nova.conf.  
 
[root@ps-rhel64 ~(keystone_admin)]# grep -i -e debug -e verbose /etc/nova/nova.conf
debug=true
verbose=true

[root@ps-rhel64 ~(keystone_admin)]# grep -i -e debug -e verbose /etc/nova/nova.conf 
debug=true
verbose=false

Comment 1 Derek Higgins 2013-04-30 13:59:41 UTC
Fix merged upstream
https://review.openstack.org/#/c/27805/

Comment 3 Omri Hochman 2013-10-07 07:14:39 UTC
Verified in Havana RDO openstack-packstack-2013.2.1-0.10.dev763.el6.noarch.

nova.conf after installation : 

[root/]# grep -i -e debug -e verbose /etc/nova/nova.conf
# Print debugging output (set logging level to DEBUG instead
#debug=false
debug=True
# Print more verbose output (set logging level to INFO instead
#verbose=false
verbose=True
# data to append to log format when level is DEBUG (string
#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
# Verbosity of SQL debugging information. 0=None,
#connection_debug=0