gnt-backup: Don't show confusing message w/o target node
authorMichael Hanselmann <hansmi@google.com>
Tue, 10 Aug 2010 15:54:42 +0000 (17:54 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 10 Aug 2010 16:35:15 +0000 (18:35 +0200)
commitbc696589671c1f1b99a57a51e51276cf9e8f452f
tree9b904d0cfe25f7f25f9ec1d0a22dca27ebde1f57
parent85b3901b28e829cc6add49ff1fd89ca05616f3c6
gnt-backup: Don't show confusing message w/o target node

“gnt-backup export” requires the target node. Until now, the master
daemon would complain that the “parameter
'OP_BACKUP_EXPORT.target_node' fails validation”. With this patch,
an additional check is done in the client program.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Manuel Franceschini <livewire@google.com>
qa/ganeti-qa.py
qa/qa_instance.py
scripts/gnt-backup