Comment 7 for bug 1538387

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

Reviewed: https://review.openstack.org/285383
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=fe0a1cafd3427084362323093d78560c8594a2c4
Submitter: Jenkins
Branch: stable/liberty

commit fe0a1cafd3427084362323093d78560c8594a2c4
Author: Kevin Benton <email address hidden>
Date: Wed Jan 27 02:17:01 2016 -0800

    Unmarshall portinfo on update_fdb_entries calls

    The unmarshalling function was not aware of the data
    structure used by update_fdb_entries, so it would not
    setup PortInfo named tuples in the 'before' and 'after'
    fields. This would break the fdb_chg_ip_tun function
    which expected to be able to use named attributes.

    This patch adjusts the unmarshalling function to be aware
    of this datastrucure.

    This has likely been broken since the change that added
    named tuples here: I7f8c93b0e12ee0179bb23dfbb3a3d814615b1c2e
    It probably went undetected for so long because the exception
    will only be observed when the updated entry does not have
    an agent IP that matches the local agent's (i.e. not single-node).
    Even in a multi-node environment, this would only trigger an
    error when the fixed_ips of a port changed so it wouldn't show
    up in a normal port wiring life-cycle.

    Closes-Bug: #1538387
    Change-Id: I0aacb3af9ebd160ebfb801f77b186075303c3df5
    (cherry picked from commit 8dcf39aae7a099e01bd322891526c134e87e6b1b)