Comment 4 for bug 1494446

Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote : Re: After cluster deletion node can't bootstrap - "boot sector signature not found, (unbootable disk/partition?)"

the problem in line https://github.com/stackforge/fuel-astute/blob/master/lib/astute/cobbler_manager.rb#L52
the error_nodes in this case is the reference to nodes_to_remove and any modification of error_list affects the error_nodes as well.
that means original list are modified during iteration and the code does not work as expected.

to fix need to change line 52: error_nodes = nodes_to_remove.dup