overcloud deployment fails while configuring network routes with "Error: Nexthop has invalid gateway"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Unassigned |
Bug Description
we hit this in our bgp playground based on centos 8-stream and master.
overcloud deployment times out and on the nodes we see:
WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.
WARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.
WARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.
RTNETLINK answers: File exists
WARN : [/etc/sysconfig
Error: Nexthop has invalid gateway.
WARN : [/etc/sysconfig
Error: Nexthop has invalid gateway.
Error: Nexthop has invalid gateway.
WARN : [/etc/sysconfig
Error: Nexthop has invalid gateway.
Error: Nexthop has invalid gateway.
WARN : [/etc/sysconfig
Error: Nexthop has invalid gateway.
we tracked this down to:
[root@ctrl-1-0 network-scripts]# rpm -q --changelog network-scripts |less
* Mon Jan 24 2022 Jan Macku <email address hidden> - 10.00.17-1
- ifup-routes: Revert quotes
- ifup-routes: Use `ip replace` only on type `route`
- ci: introduce GA ci from master to rhel8-branch
- ci: Setup packit for RHEL8 branch
- ci: Get rid of old ci files (travis and zanata)
downgrading to http://
it may be something we only hit because of our special routing setup, but I guess it's better to have it tracked somewhere.
Changed in tripleo: | |
status: | New → Triaged |
Changed in tripleo: | |
importance: | Undecided → High |
another possible workaround is to add the "onlink" option to the ip route command. from the man page:
"onlink pretend that the nexthop is directly attached to this link, even if it does not match any interface prefix."