Comment 4 for bug 1593991

Revision history for this message
Jason Hobbs (jason-hobbs) wrote : Re: [2.0b7] nodes enlisted manually through CLI added with a single power controller controlling all the nodes for power type IPMI

Here's two nodes that were created without power parameters, you can see they end up with the same BMC:

>>> suangi.bmc
<BMC: 92 (192.168.224.200:type=STICKY)>
>>> prunus.bmc
<BMC: 92 (192.168.224.200:type=STICKY)>
>>> bmc = prunus.bmc
>>> bmc.power_type
'ipmi'
>>> bmc.node_set.count()
47

You can see this bmc has 47 nodes attached to it.

When we go to set the power parameters on the nodes, it affects all the nodes.