Do not try to provide a fake instance UUID called "no instances", as
trying to get the name for would fail and raise an exception.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
(node.name,
utils.CommaJoin(
self.cfg.GetInstanceNames(
- dangling_instances.get(node.uuid, ["no instances"]))))
+ dangling_instances.get(node.uuid, []))))
for node in dangling_nodes]
self._ErrorIf(bool(dangling_nodes), constants.CV_ECLUSTERDANGLINGNODES,