CRD not updated with created rule

Bug #1829041 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

The CRD is not updated with the created SG rule when a Network Policy that contains more than one selector in the ingress/egress rules and a pod that matches any selector that is not the first are created.

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

Fix proposed to branch: master
Review: https://review.opendev.org/659634

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.opendev.org/659634
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=e7d95c40d1fdb5364206d9e470aef6b3edcf4854
Submitter: Zuul
Branch: master

commit e7d95c40d1fdb5364206d9e470aef6b3edcf4854
Author: Maysa Macedo <email address hidden>
Date: Thu May 16 14:05:25 2019 -0400

    Fix CRD update on SG rule creation

    The CRD is not updated with the created SG rule
    when a Network Policy that contains more than one selector
    in the ingress/egress rules and a pod that matches any selector
    that is not the first are created.
    This commit fixes the issue by ensuring the flag that indicates
    when the CRD needs update is not overwritten when handling each
    selector.

    Change-Id: I02c9b9929a3156d9d40e5aeefef5456f6befa0ab
    Closes-Bug: 1829041

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/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/662687

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

Reviewed: https://review.opendev.org/662687
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=8c018dfa78a1f7ed52cb532f58cc316365fe71f0
Submitter: Zuul
Branch: stable/stein

commit 8c018dfa78a1f7ed52cb532f58cc316365fe71f0
Author: Maysa Macedo <email address hidden>
Date: Thu May 16 14:05:25 2019 -0400

    Fix CRD update on SG rule creation

    The CRD is not updated with the created SG rule
    when a Network Policy that contains more than one selector
    in the ingress/egress rules and a pod that matches any selector
    that is not the first are created.
    This commit fixes the issue by ensuring the flag that indicates
    when the CRD needs update is not overwritten when handling each
    selector.

    Change-Id: I02c9b9929a3156d9d40e5aeefef5456f6befa0ab
    Closes-Bug: 1829041
    (cherry picked from commit e7d95c40d1fdb5364206d9e470aef6b3edcf4854)

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

This issue was fixed in the openstack/kuryr-kubernetes 1.1.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.