Comment 2 for bug 1955051

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

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/821910
Committed: https://opendev.org/starlingx/utilities/commit/50c00c7450cfe4617474cb5b1305afe5dd629733
Submitter: "Zuul (22348)"
Branch: master

commit 50c00c7450cfe4617474cb5b1305afe5dd629733
Author: Heitor Matsui <email address hidden>
Date: Wed Dec 15 18:46:11 2021 -0300

    Add event types to Rabbit notification listener

    The pci-irq-affinity-agent currently receives notifications
    from Rabbit for only three instance event types: create, resize
    and delete. As consequence of this, the agent doesn't set IRQ
    affinity settings correctly when other types of operation are
    executed against an instance, like a migration or shutdown.

    This commit refactor the listener notifications endpoints to
    only two types: "instance online" and "instance offline", and
    adds other relevant event types to be received by the agent.

    Also this commit removes unused imports from the agent code.

    Test Plan:
    PASS: Verify that agent handles online operations for
          instances that match PCI IRQ affine conditions
    PASS: Verify that agent handles offline operations
          instances that match PCI IRQ affine conditions
    PASS: Boot instance, trigger live migrate, verify agent
          resetting IRQ affinity on source host and setting
          IRQ affinity on destination host
    PASS: Boot instance, trigger cold migrate, verify agent
          resetting IRQ affinity on source host and setting
          IRQ affinity on destination host

    Regression:
    PASS: Verify that OpenStack applies successfully

    Closes-bug: 1955051
    Depends-on: https://review.opendev.org/c/starlingx/openstack-armada-app/+/822357
    Change-Id: I9f02730ec6110d5774c57065a3e82e9ae081d234
    Signed-off-by: Heitor Matsui <email address hidden>
    Co-authored-by: Iago Estrela <email address hidden>