Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 893107

Summary: Openstack-packstack: The installation log file is available at </path> - is empty, ( when not using '--debug=true') .
Product: Red Hat OpenStack Reporter: Omri Hochman <ohochman>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Nir Magnezi <nmagnezi>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0 (Folsom)CC: aortega, derekh, fpercoco, ykaul
Target Milestone: snapshot4Keywords: Triaged
Target Release: 2.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2012.2.3-0.1.dev454 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-21 18:23:04 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 Omri Hochman 2013-01-08 15:34:31 UTC
Description: 
-------------
Openstack-packstack: Additional information should not address to an empty installation log file when running packstack installer without '--debug=true'.

**** Installation completed successfully ******

     (Please allow Installer a few moments to start up.....)


Additional information:
 * To use the command line tools source the file /root/keystonerc_admin created on 127.0.0.1
 * To use the console, browse to http://127.0.0.1/dashboard
 * The installation log file is available at: /var/tmp/c02179d7-c27e-4776-a7ce-69c23f01c166/openstack-setup_2013_01_08_13_45_13.log "
 

Actual Results:
----------------
 * The installation log file is available at </path> - is empty.

Expected results:
-----------------
In case running packstack without --debug=true, Either remove this message, or  at least mention that the log file is available only in case packstack was executed with --debug=true.

Comment 3 Derek Higgins 2013-01-23 06:38:29 UTC
This started occurring as a consequence of adding the --debug flag.

perhaps we could add relevant info messages?

Comment 4 Flavio Percoco 2013-01-28 12:51:57 UTC
We could definitely add some INFO message at the beginning / end of each plugin process, even though, I think the most relevant info can be found in the remote work dir. Hiding this path from the output when --debug is not set won't hurt.

Comment 5 Derek Higgins 2013-01-30 22:01:36 UTC
Patch submitted upstream that changes default log level to info and only output logging to log file

https://review.openstack.org/#/c/20816/

The file is not longer empty and more info messages can be added without polluting stdout. Flavio if this merges if you added info message this might help the case.

Comment 7 Omri Hochman 2013-03-03 09:33:08 UTC
Verified - openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarchm/

Installation log file could be found under the suggested path.

Comment 10 errata-xmlrpc 2013-03-21 18:23:04 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.

http://rhn.redhat.com/errata/RHSA-2013-0671.html