openstack-ironic/devstack
Luan Utimura 9375f3bd6c Fix nexthop error when adding route to PUBLIC_SUBNET_IP
The `stack` script has been consistently failing with:

```
Error: Nexthop has invalid gateway.
```

when it comes time to add a route to $PUBLIC_SUBNET_IP [1].

One solution to this is to add the `onlink` flag [2] to the link
mentioned above:

```
onlink pretend that the nexthop is directly attached to
       this link, even if it does not match any interface
       prefix.
```

[1] daf856cd2d/devstack/lib/ironic (L2583)
[2] https://man7.org/linux/man-pages/man8/ip-route.8.html

Change-Id: Ia6363e6b68de344dd82106077efff86143e63d39
Signed-off-by: Luan Utimura <luan.utimura@luizalabs.com>
2025-09-09 21:40:26 -03:00
..
files devstack bindep - [platform:rpm] 2025-02-25 14:10:50 +00:00
lib Fix nexthop error when adding route to PUBLIC_SUBNET_IP 2025-09-09 21:40:26 -03:00
tools/ironic devstack: network simulator support for sonic 2025-03-31 06:27:18 -07:00
upgrade ci: grenade: restart neutron services 2025-08-11 15:42:15 -07:00
common_settings Follow up to change on testing CI on ARM 2024-06-24 20:00:53 +01:00
plugin.sh Add ironic-novncproxy service 2025-02-19 20:17:57 +00:00
settings network testing: hooking in an external network simulator 2025-03-21 16:09:25 -07:00