Comment 5 for bug 1301046

Revision history for this message
Mario Villaplana (mario-villaplana-j) wrote :

It looks like the actual API may rely on this, too - not just the tests. Changing this to Node.get_by_uuid makes devstack fail to boot correctly: https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/port.py#L60

I'm going to add some logging / use pdb and see what happens when I use the original code to perform port API operations with the node ID. I'll also try seeing if the same thing is happening as in the tests when switching to get_by_uuid.