I spent some time musing on this one, but I had missed the fact that it's really not possible to tell who the machine is when it boots from MAAS other than via what is provided by PXE or the commissioning environment. Somehow I assumed that we could tell that the node we created via the API was the node that MAAS was seeing boot for commissioning.
Just to summarize the root cause of the issue:
1. We only have BMC information for the nodes we are adding to MAAS
2. MAAS can only identify machines today by PXE MAC
It could potentially identify by BMC MAC but it doesn't, and that's this bug.
I spent some time musing on this one, but I had missed the fact that it's really not possible to tell who the machine is when it boots from MAAS other than via what is provided by PXE or the commissioning environment. Somehow I assumed that we could tell that the node we created via the API was the node that MAAS was seeing boot for commissioning.
Just to summarize the root cause of the issue:
1. We only have BMC information for the nodes we are adding to MAAS
2. MAAS can only identify machines today by PXE MAC
It could potentially identify by BMC MAC but it doesn't, and that's this bug.