Floating IP disconnected several minutes when restarting nova-network
Bug #1308390 reported by
stanzgy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
stanzgy |
Bug Description
When restarting nova-network service, nova-network will initialize iptables and remove old rules, then add floating ip iptable forward rules one by one.
If there are a lot of floating ips on one host, the process of adding floating ip rules could last several minutes.
This will cause the floating ips which last added iptable rules disconnected for that several minutes.
tags: | added: network |
Changed in nova: | |
assignee: | nobody → stanzgy (stanzgy) |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: icehouse-backport-potential |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/87874 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=249f0d5157d 1415cd937b300c5 0eb4f381ea43a7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 249f0d5157d1415 cd937b300c50eb4 f381ea43a7
Author: stanzgy <email address hidden>
Date: Wed Apr 16 16:24:09 2014 +0800
Defer applying iptable changes when nova-network start
When restarting nova-network service, nova-network will initialize iptables and
remove old rules, then add floating ip iptable forward rules one by one.
If there are a lot of floating ips on one host, the process of adding floating
ip rules could last several minutes, which will cause those floating ips that
last added iptable rules disconnected for same time.
This patch defers applying nova-network iptable rule changes until
initialization is done instead of adding floating ip forward rules one by one.
Change-Id: I12651850b44790 aef3817fedacae0 50bff57e364
Closes-bug: 1308390