HttpException: Bad Request (HTTP 400) (Request-ID: req-e7965660-077a-4f23-8648-739245c877af), Invalid input for operation: Failed to create port on network f19d0817-7394-4f5d-840f-e440476f05b2, because fixed_ips included invalid subnet cee4e96b-0fe0-469f-b008-7f87cc793d7a.
This also seem to require the network segment to be available on the host we ask for the port to bind to.
In my setup subnet0 is local using physical_network 'ctlplane', and subnet1 is a remote/non-local subnet on physical_network 'subnet1'.
(undercloud) [stack@ocataleafs ~]$ openstack network segment show subnet0 ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ bc4a-4b56- a8fd-0176c694e1 75 | 7394-4f5d- 840f-e440476f05 b2 | ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ 5e07-4140- bd13-9e9a5d0900 31 | 7394-4f5d- 840f-e440476f05 b2 | ------- -----+- ------- ------- ------- ------- ------- --+
+------
| Field | Value |
+------
| description | None |
| id | ce07c9be-
| name | subnet0 |
| network_id | f19d0817-
| network_type | flat |
| physical_network | ctlplane |
| segmentation_id | None |
+------
(undercloud) [stack@ocataleafs ~]$ openstack network segment show subnet1
+------
| Field | Value |
+------
| description | None |
| id | a93f33ae-
| name | subnet1 |
| network_id | f19d0817-
| network_type | flat |
| physical_network | subnet1 |
| segmentation_id | None |
+------
I cannot bind a port with fixed_ip in subnet1 onto this node.
(undercloud) [stack@ocataleafs ~]$ openstack port create --host ocataleafs. lab.example. com --network ctlplane --fixed-ip subnet= subnet1, ip-address= 172.20. 0.70 fixed-ip-subnet1
HttpException: Bad Request (HTTP 400) (Request-ID: req-e7965660- 077a-4f23- 8648-739245c877 af), Invalid input for operation: Failed to create port on network f19d0817- 7394-4f5d- 840f-e440476f05 b2, because fixed_ips included invalid subnet cee4e96b- 0fe0-469f- b008-7f87cc793d 7a.