Multiple pools created with same trunk ip

Bug #1751794 reported by Maysa de Macedo Souza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-kubernetes
Fix Released
Undecided
Maysa de Macedo Souza

Bug Description

More than one pool with same trunk ip is created when a creation request is sent.

The following output shows two pools with same trunk ip, but security groups in different order.

["10.0.0.5", "a1f1f8fbdd104909b3e5c075a732acc3", ["21d687c2-378c-4f49-b84e-4dbcd7a667ef", "c8f6b4ba-ae14-494a-996e-e968e21c7fc9"]] has 3 ports

["10.0.0.5", "a1f1f8fbdd104909b3e5c075a732acc3", ["c8f6b4ba-ae14-494a-996e-e968e21c7fc9", "21d687c2-378c-4f49-b84e-4dbcd7a667ef"]] has 14 ports

As pointed by ltomasbo, this is due to information retrieved from Neutron client not always being returned in proper order.

Changed in kuryr-kubernetes:
assignee: nobody → Maysa de Macedo Souza (maysa)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-kubernetes (master)

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

Changed in kuryr-kubernetes:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (master)

Reviewed: https://review.openstack.org/548041
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=8ffef7f6bd9454208b12e1d0236303c3ec995711
Submitter: Zuul
Branch: master

commit 8ffef7f6bd9454208b12e1d0236303c3ec995711
Author: Maysa Macedo <email address hidden>
Date: Sat Feb 24 18:08:40 2018 +0000

    Ensure pools recovery creates the right pool key.

    This patch reorganizes the security groups retrieved from Neutron,
    which does not always returns them in proper order causing differents 'pool_key'
    to be created. Since the 'pool_key' is composed by host address, project id
    and security groups.

    Change-Id: I6a33a075bce83a09fbb642d796a86c936968fde4
    Closes-Bug: #1751794

Changed in kuryr-kubernetes:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kuryr-kubernetes (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/550728

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (stable/queens)

Reviewed: https://review.openstack.org/550728
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=2575a52ef2149d595fe9f209ad44a8ad5510a695
Submitter: Zuul
Branch: stable/queens

commit 2575a52ef2149d595fe9f209ad44a8ad5510a695
Author: Maysa Macedo <email address hidden>
Date: Sat Feb 24 18:08:40 2018 +0000

    Ensure pools recovery creates the right pool key.

    This patch reorganizes the security groups retrieved from Neutron,
    which does not always returns them in proper order causing differents 'pool_key'
    to be created. Since the 'pool_key' is composed by host address, project id
    and security groups.

    Change-Id: I6a33a075bce83a09fbb642d796a86c936968fde4
    Closes-Bug: #1751794

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 0.4.2

This issue was fixed in the openstack/kuryr-kubernetes 0.4.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 0.5.0

This issue was fixed in the openstack/kuryr-kubernetes 0.5.0 release.

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.