Hide shell output and print a user friendly summary of progress

Bug #1081142 reported by Daniel Berrange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

Currently when stack.sh is run, it prints 100's of pages of shell commands & their output to the console. This is not too user friendly, because people running it are typically most interested in what it is currently doing at a high level and some kind of indication of progress. Further when errors do occur, the important logs may have been lost in the limited size terminal scrollback.

It would thus be desirable if everything that devstack currently prints to stdout + stderr is instead written to a 'stack.log' file. Then, on stdout it should print something akin to the following

 # ./devstack.sh
 * Cloning GIT repositories
     - 1/10 nova
     - 2/10 cinder
     - 3/10 quantum
     ...
 * Installing RPMs using YUM
     - 1/30 python-pip
     - 2/30 libvirt
     - 3/30 libvirt-client
    ...
 * Installing Python packages to /usr/lib/python-2.7/site-packages using PIP
     - 1/24 WebOb
     - 2/24 ampqlib
     - 3/24 boto
     ....
 * Creating database schemas
     - 1/10 nova
     - 2/10 cinder
     - 3/10 quantum
     ...
 * .....

Revision history for this message
Dean Troyer (dtroyer) wrote :

Set VERBOSE=False in localrc and you will get much less output

Changed in devstack:
status: New → Invalid
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.