When update the subnet's gateway ip of the external network, the static route in OVNNB is not updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Fix Released
|
Undecided
|
Guoshuai Li |
Bug Description
When updating the subnet ip of the external network, the static route in OVNNB is not updated.
1. create external network
# openstack network create --provider-
2. create external network's subnet
# openstack subnet create --subnet-range 10.157.145.0/24 --gateway 10.157.145.254 --network ext_network --allocation-pool start=10.
3. create router with external network
# openstack router create route1
# openstack router set --external-gateway ext_network route1
4. check static router in OVNNB
# ovn-nbctl list Logical_
nexthop: "10.157.145.254"
5. update subnet gateway_ip
# openstack subnet set --gateway 10.157.145.253 ext_subnet
4. check static router in OVNNB
# ovn-nbctl list Logical_
nexthop: "10.157.145.254"
Changed in networking-ovn: | |
assignee: | nobody → Guoshuai Li (liguoshuai1990) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/459965
Review: https:/