Fix non-drbd instance creation
authorIustin Pop <iustin@google.com>
Mon, 19 Jan 2009 14:32:21 +0000 (14:32 +0000)
committerIustin Pop <iustin@google.com>
Mon, 19 Jan 2009 14:32:21 +0000 (14:32 +0000)
commit99c7b2a15f0dbce160134c13d1a3c97a8f1042a8
treec3178e59e67fbf6e00bc502a7f9bf77e54748830
parent7c5abcae72adfb6067aa89c7cc23afce8e278a26
Fix non-drbd instance creation

Commit 2294 introduced a new instance.all_nodes property, which
unfortunately is working incorrectly for non-drbd instances.

This patch fixes it by making sure the primary node is always added to
the set, even before recursing over (any potential) children.

Reviewed-by: imsnah
lib/objects.py