Comment 4 for bug 1870529

Revision history for this message
Harald Jensås (harald-jensas) wrote :

Ok, so no port's where defined in instackenv.json. The interfaces for the baremetal node are discovered during introspection and the baremetal port objects are added in ironic by inspector.

When this happens the 'physical_network' field of the baremetal ports are not populated, resulting in an empty value for the agents 'bridge_mappings'.

You can set the physical_network property of the ports with:

openstack baremetal port set --physical-network $PHYSNET $PORT_UUID

In a tripleo undercloud you want to use PHYSNET=ctlplane in most cases. Only routed topologies such as spine-and-leaf and DCN use other physical_networks.

We probably want to log a better error message with instructions to set the physical_network field.