Neutron DHCP agent sets up wrong ports after the failover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Eugene Nikanorov | ||
6.1.x |
Fix Released
|
High
|
Eugene Nikanorov | ||
7.0.x |
Fix Released
|
High
|
Eugene Nikanorov | ||
8.0.x |
Fix Released
|
High
|
Eugene Nikanorov |
Bug Description
Fuel 6.1 Ubuntu HA.
The tenant network is created and assigned to be handled by 2 controllers.
Reboot one of the controllers, the DHCP role is assigned to the new controller, but the port remains to be the same. When controller comes back, it may again have the namespace configured and may provide DHCP service.
The whole picture may look like this:
root@GGUTTPLDI0
+------
| id | host | admin_state_up | alive |
+------
| 3ff6ab0c-
| c66bedc8-
+------
DHCP ports:
root@GGUTTPLDI0
+------
| id | name | mac_address | fixed_ips |
+------
| 3365c886-
| | | | {"subnet_id": "2012df4e-
| | | | {"subnet_id": "03c9c3e7-
| 4c34478e-
| | | | {"subnet_id": "2012df4e-
| | | | {"subnet_id": "03c9c3e7-
+------
Ports description:
root@GGUTTPLDI0
| binding:host_id | GGUTTPLDI002.
| device_id | dhcpeb8043a0-
root@GGUTTPLDI0
| binding:host_id | GGUTTPLDI001.
| device_id | dhcp78bc93dd-
Both ports have host-id Not equal to the host defined in device id:
>>> local_hostname=
>>> host_uuid = uuid.uuid5(
>>> print host_uuid
78bc93dd-
>>> local_hostname=
>>> print uuid.uuid5(
065a7b7e-
>>> local_hostname=
>>> print uuid.uuid5(
eb8043a0-
At the same time the namespaces are messed up as well:
root@GGUTTPLDI0
519: tap4c34478e-84: <BROADCAST,
inet 10.73.205.236/28 brd 10.73.205.239 scope global tap4c34478e-84
inet 10.73.205.250/28 brd 10.73.205.255 scope global tap4c34478e-84
inet 10.73.205.53/28 brd 10.73.205.63 scope global tap4c34478e-84
root@GGUTTPLDI0
128: tap3365c886-80: <BROADCAST,
inet 10.73.205.235/28 brd 10.73.205.239 scope global tap3365c886-80
inet 10.73.205.249/28 brd 10.73.205.255 scope global tap3365c886-80
inet 10.73.205.51/28 brd 10.73.205.63 scope global tap3365c886-80
148: tap4c34478e-84: <BROADCAST,
inet 10.73.205.236/28 brd 10.73.205.239 scope global tap4c34478e-84
inet 10.73.205.250/28 brd 10.73.205.255 scope global tap4c34478e-84
inet 10.73.205.53/28 brd 10.73.205.63 scope global tap4c34478e-84
root@GGUTTPLDI0
137: tap3365c886-80: <BROADCAST,
inet 10.73.205.235/28 brd 10.73.205.239 scope global tap3365c886-80
inet 10.73.205.249/28 brd 10.73.205.255 scope global tap3365c886-80
inet 10.73.205.51/28 brd 10.73.205.63 scope global tap3365c886-80
Changed in mos: | |
assignee: | nobody → MOS Neutron (mos-neutron) |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → 7.0-updates |
tags: | added: 70mu1-confirmed |
tags: | added: support |
tags: | removed: 70mu1-confirmed |
tags: | added: on-verification |
tags: | added: on-verification |
tags: | added: on-automation |
tags: | added: covered-automated-test |
Maybe relative to https:/ /bugs.launchpad .net/mos/ +bug/1493785