• Iustin Pop's avatar
    Fix non-drbd instance creation · 99c7b2a1
    Iustin Pop authored
    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
    99c7b2a1
objects.py 23.7 KB