Fix errors when the node info RPC is incomplete
authorIustin Pop <iustin@google.com>
Mon, 1 Dec 2008 06:02:06 +0000 (06:02 +0000)
committerIustin Pop <iustin@google.com>
Mon, 1 Dec 2008 06:02:06 +0000 (06:02 +0000)
commitd599d686dbde880026f4cf2fe934281e78c94f0f
tree1c74a6170ffedce23fbae5ca89ee078cbe53f9a3
parent028c6b760f68a276f3a6e10c61cf8a6d982bdbea
Fix errors when the node info RPC is incomplete

[Forward-port from the 1.2 branch]

If ganeti starts before xend, the node information will not have all the
fields filled in. The patch changes so that missing keys will be treated
as unknown (this applies to other cases as well, not only xend not
started).

Reviewed-by: ultrotter
lib/cmdlib.py