Floating IP disconnected several minutes when restarting nova-network

Bug #1308390 reported by stanzgy
6
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.

Tracy Jones (tjones-i)
tags: added: network
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/87874
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=249f0d5157d1415cd937b300c50eb4f381ea43a7
Submitter: Jenkins
Branch: master

commit 249f0d5157d1415cd937b300c50eb4f381ea43a7
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: I12651850b44790aef3817fedacae050bff57e364
    Closes-bug: 1308390

Changed in nova:
status: New → Fix Committed
stanzgy (stanzgy)
Changed in nova:
assignee: nobody → stanzgy (stanzgy)
Changed in nova:
importance: Undecided → Medium
tags: added: icehouse-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.