DHCP not leasing IP after instance reboot with Open vSwitch Firewall Driver configured.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Critical
|
Alexey Stupnikov | ||
9.x |
Fix Released
|
Critical
|
MOS Maintenance |
Bug Description
Detailed bug description:
DHCP works fine during initial boot. Instance is able to acquire DHCP lease and works as expected. However, if instance is either soft/hard rebooted via nova the instance is then unable to obtain DHCP lease and fails at discover.
Steps to reproduce:
1. Create MOS9.2 environment with the Open vSwitch Firewall Driver configured.
2. Launch instance (i.e. testvm) using internal network.
3. Reboot the instance from within the instance (i.e. sudo reboot) and DHCP works fine.
4. Reboot the instance using soft/hard reboot from nova and DHCP fails.
Expected results:
DHCP should be leasing IP to instance.
Actual result:
DHCP fails to lease IP if nova reboot commands issued.
Reproducibility:
Tried it on several instances and reproducibility is always.
Impact:
No DHCP can affect production level instances. High impact.
Description of the environment:
Operation system: Ubuntu 14.04 Kernel 4.4
Versions of components: MOS 9.2
Network model: VLAN
Additional information:
If you require access to lab where issue is present please let me know.
affects: | fuel → mos |
Changed in mos: | |
milestone: | 9.x-updates → none |
Changed in mos: | |
milestone: | none → 9.x-updates |
Changed in mos: | |
assignee: | nobody → Inessa Vasilevskaya (ivasilevskaya) |
tags: | added: area-neutron |
tags: | added: wait-for-stable |
no longer affects: | mos/10.0.x |
Changed in mos: | |
milestone: | 9.2-mu-2 → 10.0 |
I noticed that the port number in ovs flows that correspond ro the vm rebooted via 'nova reboot' doesn't match the port number assigned to vm's tap device in 'ovs-ofctl show'.
Another observation - things get back to normal once you shelve/unshelve the vm.
Broken state after reboot (tapdb04e855-b6, port number is 29 and 30) - http:// paste.openstack .org/show/ 602726/ paste.openstack .org/show/ 602729/
Fixed state after shelve/unshelve, port numbers match - http://