handle_port_metadata_access throws exception during delete_port

Bug #1526513 reported by Shih-Hao Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
Fix Released
Undecided
Unassigned

Bug Description

When handle_port_metadata_access handles the delete_port case,
port['fixed_ips'] could be empty, thus accessing port['fixed_ips'][0]
will cause an exception and interrupt delete_port processing.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (master)

Reviewed: https://review.openstack.org/257614
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=88e5791c3cf36363c02d878f6a13daaf3bdc882d
Submitter: Jenkins
Branch: master

commit 88e5791c3cf36363c02d878f6a13daaf3bdc882d
Author: Shih-Hao Li <email address hidden>
Date: Tue Dec 15 18:29:45 2015 -0800

    Fix delete_port case in handle_port_metadata_access

    When handle_port_metadata_access handles the delete_port case,
    port['fixed_ips'] could be empty, thus accessing port['fixed_ips'][0]
    will cause an exception and interrupt delete_port processing.

    Closes-bug: #1526513
    Change-Id: Ie1dbad8cccdff36700ea3a79774fdcb63b759fbf

Changed in vmware-nsx:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vmware-nsx (stable/liberty)

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

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

Reviewed: https://review.openstack.org/258871
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=7c2d5dae76b734870779698fbd7612e8652e04f4
Submitter: Jenkins
Branch: stable/liberty

commit 7c2d5dae76b734870779698fbd7612e8652e04f4
Author: Shih-Hao Li <email address hidden>
Date: Tue Dec 15 18:29:45 2015 -0800

    Fix delete_port case in handle_port_metadata_access

    When handle_port_metadata_access handles the delete_port case,
    port['fixed_ips'] could be empty, thus accessing port['fixed_ips'][0]
    will cause an exception and interrupt delete_port processing.

    Closes-bug: #1526513
    Change-Id: Ie1dbad8cccdff36700ea3a79774fdcb63b759fbf
    (cherry picked from commit 88e5791c3cf36363c02d878f6a13daaf3bdc882d)

tags: added: in-stable-liberty
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.