errors not reported unless verbose is set

Bug #1052901 reported by Gavin B
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Unassigned

Bug Description

In stack.sh output to stdout / stderr is explicitly dropped :

    if [[ "$VERBOSE" != "yes" ]]; then
        # Throw away stdout and stderr
        exec 1>/dev/null 2>&1
    fi

however the library routines e.g. start_glance use simple echo messages to report e.g. the failure of glance
to start.

Errors should be visible in non verbose mode, so either we should squash the stdout/stderror redirect to null, or
all routines that report errors should have echo replaced with echo_summary

Revision history for this message
Erica Windisch (ewindisch) wrote :

VERBOSE actually defaults to "True", but the check is against "yes".

Should be addressed by
https://review.openstack.org/#/c/13584/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/13584
Committed: http://github.com/openstack-dev/devstack/commit/efdf3ffc9fafe24feb885399807e2bad29b60caa
Submitter: Jenkins
Branch: master

commit efdf3ffc9fafe24feb885399807e2bad29b60caa
Author: Eric Windisch <email address hidden>
Date: Mon Sep 24 12:47:44 2012 -0400

    VERBOSE is True if true, not 'yes'

    fixes bug #1052901

    Change-Id: I77b08cbc713cc62808c1ea17aa7f766a56783587

Changed in devstack:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.