[apic-mapping] store ep files to avoid recalculating them

Bug #1636315 reported by Ivar Lazzaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy
New
Undecided
Unassigned

Bug Description

As of Today, every time the opflex agent requires GBP details for Neutron ports, we recalculate the whole Port status making a plethora of DB calls. This becomes particularly expensive when restarting an agent with a huge number of ports in it (sometimes even timing out the RPC).

Store this information in the DB so that it can be retrieved easily, and invalidate it when needed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/390630

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/390969

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/juno)

Reviewed: https://review.openstack.org/390969
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=3e9182ec85b0c24c4ac2c42d98bdc21574002200
Submitter: Jenkins
Branch: stable/juno

commit 3e9182ec85b0c24c4ac2c42d98bdc21574002200
Author: Ivar Lazzaro <email address hidden>
Date: Wed Oct 26 22:18:29 2016 +0200

    [apic] Enable EP caching only if apic_port_endpoint extension is loaded

    Change-Id: I43ad494fefcd7aa63332a95602daba9990e5c108
    Closed-Bug: 1636315

tags: added: in-stable-juno
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/390630
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=596a2ea7b201f62b86b49f45dcd59f3ed197c875
Submitter: Jenkins
Branch: stable/juno

commit 596a2ea7b201f62b86b49f45dcd59f3ed197c875
Author: Ivar Lazzaro <email address hidden>
Date: Tue Oct 25 20:27:35 2016 +0200

    [apic-mapping] Load Nova Client only once to avoid reconnecting

    Change-Id: Id3174fac671b3c599b414fde3ec2b08df2440f27
    Closed-Bug: 1636315

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/406337

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/406338

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/406340

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy (master)

Fix proposed to branch: master
Review: https://review.openstack.org/406341

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/liberty)

Reviewed: https://review.openstack.org/406338
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=d5c952ab6af069bceff7aed5cf2348986f278da3
Submitter: Jenkins
Branch: stable/liberty

commit d5c952ab6af069bceff7aed5cf2348986f278da3
Author: Ivar Lazzaro <email address hidden>
Date: Tue Oct 25 20:27:35 2016 +0200

    [apic-mapping] Load Nova Client only once to avoid reconnecting

    Change-Id: Id3174fac671b3c599b414fde3ec2b08df2440f27
    Closed-Bug: 1636315

tags: added: in-stable-liberty
tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/kilo)

Reviewed: https://review.openstack.org/406337
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=7250823ea04a91e4cbaaf48538e505c5155c8de3
Submitter: Jenkins
Branch: stable/kilo

commit 7250823ea04a91e4cbaaf48538e505c5155c8de3
Author: Ivar Lazzaro <email address hidden>
Date: Tue Oct 25 20:27:35 2016 +0200

    [apic-mapping] Load Nova Client only once to avoid reconnecting

    Change-Id: Id3174fac671b3c599b414fde3ec2b08df2440f27
    Closed-Bug: 1636315

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (stable/mitaka)

Reviewed: https://review.openstack.org/406340
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=c72235ff36d7c4c9c9ac53eba2b992e41b9f17b6
Submitter: Jenkins
Branch: stable/mitaka

commit c72235ff36d7c4c9c9ac53eba2b992e41b9f17b6
Author: Ivar Lazzaro <email address hidden>
Date: Tue Oct 25 20:27:35 2016 +0200

    [apic-mapping] Load Nova Client only once to avoid reconnecting

    Change-Id: Id3174fac671b3c599b414fde3ec2b08df2440f27
    Closed-Bug: 1636315

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy (master)

Reviewed: https://review.openstack.org/406341
Committed: https://git.openstack.org/cgit/openstack/group-based-policy/commit/?id=d5d0bbb209cb706f2d31188110442c89138550ef
Submitter: Jenkins
Branch: master

commit d5d0bbb209cb706f2d31188110442c89138550ef
Author: Ivar Lazzaro <email address hidden>
Date: Tue Oct 25 20:27:35 2016 +0200

    [apic-mapping] Load Nova Client only once to avoid reconnecting

    Change-Id: Id3174fac671b3c599b414fde3ec2b08df2440f27
    Closed-Bug: 1636315

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.