Fix failing gnt-node list-drbd command
authorHrvoje Ribicic <riba@google.com>
Thu, 27 Mar 2014 11:37:36 +0000 (11:37 +0000)
committerHrvoje Ribicic <riba@google.com>
Thu, 27 Mar 2014 15:18:09 +0000 (16:18 +0100)
commit4efa6249299f95729a3efab877405920a9427f01
treeab6b0fde888e6c03dfebba8f64df75f2d129a3d9
parentb4ff41d7055b46af0cf4c40e2536ad6e7ffdc890
Fix failing gnt-node list-drbd command

The UUID/name switch avoided this particular bit of code, and as a
result the list-drbd command failed as it tried to compare UUIDs and
names. This patch fixes the retrieval, converts the newly returned
UUIDs to names, and modifies the QA to the results and not only the
invocation are checked.

Signed-off-by: Gerard Oskamp <gjo@google.com>
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
qa/ganeti-qa.py
qa/qa_node.py
src/Ganeti/Confd/Server.hs
src/Ganeti/Config.hs