Comment 10 for bug 1586731

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/855851
Committed: https://opendev.org/openstack/neutron/commit/9ff46546cb36ab93504ae733f273394d5ccd9be4
Submitter: "Zuul (22348)"
Branch: master

commit 9ff46546cb36ab93504ae733f273394d5ccd9be4
Author: Felix Huettner <email address hidden>
Date: Mon Sep 5 08:34:03 2022 +0200

    Cleanup fanout queues on ovs agent stop

    Previously when a neutron-openvswitch-agent was stopped it left
    behind the following fanout queues in rabbitmq:
    neutron-vo-Network-1.0_fanout_someuuid
    neutron-vo-Port-1.1_fanout_someuuid
    neutron-vo-SecurityGroup-1.0_fanout_someuuid
    neutron-vo-SecurityGroupRule-1.0_fanout_someuuid
    neutron-vo-SubPort-1.0_fanout_someuuid
    neutron-vo-Subnet-1.0_fanout_someuuid
    neutron-vo-Trunk-1.1_fanout_someuuid

    In this change we ensure that all but the SubPort and Trunk fanout
    queues are correctly removed from rabbitmq by cleanly stopping the
    RemoteResourceCache when the agent stops.

    Partial-Bug: #1586731
    Change-Id: I672f9414a1a8ed91e259e9379ca707a70f6b4467