@Mihai, I see the doc's are not fully clear. There is currently no way to auto-populate the physical_network when ironic node ports are discovered during introspection.
As a workaround set the attribute with:
openstack baremetal port set --physical-network $PHYSNET $PORT_UUID
Alternatively add the ports in instackenv.json, to have the field set on node import. i.e
^^ This will set the physical_network to 'ctlplane' on import.
If you need to set a different physical_network it can be specified in instackenv.json as well, with:
I have also started work on a fix. Initially ironic Inspector need support to populate the physical_network field. My proposed patches does this based on a CIDR map in inspectors config. In TripleO we can populate the CIDR map in ironic Inspector config internally based on the existing undercloud.conf data. See: https://review.opendev.org/720010 and https://review.opendev.org/718594
@Mihai, I see the doc's are not fully clear. There is currently no way to auto-populate the physical_network when ironic node ports are discovered during introspection.
As a workaround set the attribute with:
openstack baremetal port set --physical-network $PHYSNET $PORT_UUID
Alternatively add the ports in instackenv.json, to have the field set on node import. i.e
{ pm_password" : "secret", capabilities" : "node:controlle r-0,profile: control, boot_mode: uefi,boot_ option: local", 11:11:11: 11"}]
"name": "lab-controller-0",
"pm_type": "idrac",
"pm_addr": "192.168.100.101",
"pm_user": "root",
"
"
"ports": [{"address": "11:11:
},
^^ This will set the physical_network to 'ctlplane' on import.
If you need to set a different physical_network it can be specified in instackenv.json as well, with:
{ pm_password" : "secret", capabilities" : "node:controlle r-0,profile: control, boot_mode: uefi,boot_ option: local", 11:11:11: 11", "physical_network": "some_net"}]
"name": "lab-controller-0",
"pm_type": "idrac",
"pm_addr": "192.168.100.101",
"pm_user": "root",
"
"
"ports": [{"address": "11:11:
},
I have also started work on a fix. Initially ironic Inspector need support to populate the physical_network field. My proposed patches does this based on a CIDR map in inspectors config. In TripleO we can populate the CIDR map in ironic Inspector config internally based on the existing undercloud.conf data. See: https:/ /review. opendev. org/720010 and https:/ /review. opendev. org/718594