Wrong ip placement after live migration of instance
Bug #2049902 reported by
Michel Nederlof
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovn-bgp-agent |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When using the NB_ovn_bgp_driver, the placement of a floating ip after live migration is not determined properly.
During investigation we found out that the method responsible for determining the primary chassis is primarily looking at neutron:host_id field in external_ids, while the requested-chassis field in options column should overrule the placement of an lsp.
https:/
I'll add some examples in the comments for live migration sequence
Changed in ovn-bgp-agent: | |
status: | New → In Progress |
Changed in ovn-bgp-agent: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Original lsp (before live migration)
``` b062-4eee- 96b2-8d5119fb3e cf f805-4445- bd55-df9271355f 40 ea51-4c4e- 81e9-66b56c4f73 88 cidrs"= "2001:db8: 1200::148/ 64 198.51.100.220/22", "neutron: device_ id"="6a6db2eb- bcc6-4737- 9e33-396780e17b 96", "neutron: device_ owner"= "compute: DC1", "neutron: host_id" =compute1, "neutron: network_ name"=neutron- 64903804- 9685-4fda- 8014-03b9fa4399 23, "neutron: port_capabiliti es"="", "neutron: port_name" ="", "neutron: project_ id"=d26351fd860 647b48930e3be28 6ff825, "neutron: revision_ number" ="25", "neutron: security_ group_ids" ="5ce5434f- 2798-4c24- b35e-adcc3e6c48 21", "neutron: subnet_ pool_addr_ scope4" ="", "neutron: subnet_ pool_addr_ scope6" ="", "neutron: vnic_type" =normal} d4b9-48d3- 8915-29f518b52b b9"
_uuid : 0eb19cff-
addresses : ["fa:16:3e:a9:a6:75 2001:db8:1200::148 198.51.100.220"]
dhcpv4_options : b2afab41-
dhcpv6_options : 5119edfb-
dynamic_addresses : []
enabled : true
external_ids : {"neutron:
ha_chassis_group : []
mirror_rules : []
name : "b0d84030-
options : {}
parent_name : []
port_security : ["fa:16:3e:a9:a6:75 2001:db8:1200::148 198.51.100.220"]
tag : []
tag_request : []
type : ""
up : true
```