loadbalancer id is omittted from listener events, causing caching issues

Bug #1509595 reported by Adam Gandelman
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Astara
Fix Released
High
Adam Gandelman
Liberty
Fix Committed
High
Adam Gandelman

Bug Description

when the loadbalancer processes a listener.create event, it misses the loadbalancer id, causing the worker to consult the tenant resource cache for the loadbalancer. if the tenant previously had a loadbalancer that was deleted, the cache ends up returning that and the SM passes on it since its wrong/deleted. we can fix this by ensuring the lb id is extracted from listener events correctly.

to reproduce: create a loadbalancer, then a listener. delete them, create another. the balancer will be created but subsequent listener updates will be dropped, as the rug thinks they are intended for the first deleted balancer.

Changed in astara:
importance: Undecided → High
assignee: nobody → Adam Gandelman (gandelman-a)
Changed in astara:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to astara (master)

Reviewed: https://review.openstack.org/239145
Committed: https://git.openstack.org/cgit/openstack/astara/commit/?id=0f05f08fda5d3c5b4e44fb43b5496b5bda1dd00b
Submitter: Jenkins
Branch: master

commit 0f05f08fda5d3c5b4e44fb43b5496b5bda1dd00b
Author: Adam Gandelman <email address hidden>
Date: Fri Oct 23 20:50:37 2015 -0700

    Extract loadbalancer_id from listener create events

    We're currently dropping the lb id from listener events, causing
    a cache lookup that ends up hitting deleted loadbalancers instead
    of the intended one. This fixes it and looks for loadbalancer_id
    in the correct place of listener create events body.

    Change-Id: Ic94a8ecbd227d097b25ea004cc8bd7ac76c40580
    Closes-bug: #1509595

Changed in astara:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to astara (stable/liberty)

Reviewed: https://review.openstack.org/239144
Committed: https://git.openstack.org/cgit/openstack/astara/commit/?id=701d48bf9df7aa2e93bddab528ba5b16cdb0b03e
Submitter: Jenkins
Branch: stable/liberty

commit 701d48bf9df7aa2e93bddab528ba5b16cdb0b03e
Author: Adam Gandelman <email address hidden>
Date: Fri Oct 23 20:50:37 2015 -0700

    Extract loadbalancer_id from listener create events

    We're currently dropping the lb id from listener events, causing
    a cache lookup that ends up hitting deleted loadbalancers instead
    of the intended one. This fixes it and looks for loadbalancer_id
    in the correct place of listener create events body.

    Closes-bug: #1509595
    (cherry picked from commit 1ef5c523e98eaf8d90184083d8f4af4f2619b527)

    Change-Id: I541a2132d66cb0c737fd25452afd87950828ea43

Changed in astara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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