Fixes this bug:
# gnt-instance info instX
Failure: command execution error:
Can't compute disk status for instX.domain.tld: No error information
---
lib/cmdlib.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/cmdlib.py b/lib/cmdlib.py
index 333de53..089cd36 100644
--- a/lib/cmdlib.py
+++ b/lib/cmdlib.py
@@ -6649,7 +6649,7 @@ class LUQueryInstanceData(NoHooksLU):
"""Returns the status of a block device
"""
- if self.op.static:
+ if self.op.static or not node:
return None
self.cfg.SetDiskID(dev, node)
--
1.6.3.4