-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhos-18.0.0
-
None
-
False
-
-
False
-
?
-
None
-
-
-
Moderate
The new BM nodes added to OpenStack Ironic in OSP18 will fail deploying with error:
| last_error | Failed to prepare node 967425fa-9484-4498-a2a3-7669814e5fed for cleaning: Failed to create neutron ports for node's 967425fa-9484-4498-a2a3-7669814e5fed ports [Port(address=0 | | | 0:0e:1e:aa:c0:60,created_at=2024-10-09T15:00:27Z,extra={},id=7,internal_info={},is_smartnic=False,local_link_connection={},name=None,node_id=7,node_uuid=967425fa-9484-4498- | | | a2a3-7669814e5fed,physical_network=None,portgroup_id=None,pxe_enabled=True,updated_at=None,uuid=6f8508dd-fdce-4f98-9835-6a5fdf2d0764)].
The workaround is to manually set the local_link_connection to some fake values (or real, but it's doesn't really matter). Example:
cjanisze@fedora-vm ~/D/p/osp18 [1]> openstack baremetal port set --local-link-connection switch_id='52:54:00:00:00:00' --local-link-connection port_id='Ethernet1' 6f8508dd-fdce-4f98-9835-6a5fdf2d0764 --insecure
These values should be either predefined or not required.