Show message when job is waiting in queue or for locks
authorMichael Hanselmann <hansmi@google.com>
Mon, 22 Feb 2010 15:26:41 +0000 (16:26 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 22 Feb 2010 15:42:20 +0000 (16:42 +0100)
commitf448412203cffbf30482e383687e6e7ad2286fb1
tree37c2c1e3797bba75e69cbe513b629e6627f1ec52
parentcb462b062ce96dd4a709655999ab38b326c1a87d
Show message when job is waiting in queue or for locks

Jobs submitted via the standard command line utilities didn't give any
indication that anything is happening while they were waiting in the job
queue (e.g. due to other jobs using all worker threads) or acquiring
locks. This could be very confusing for people not familiar with Ganeti's
architecture. Now they'll show a message after the first WaitForJobChanges
timeout.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cli.py
lib/luxi.py