Comment 13 for bug 1843269

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

Reviewed: https://review.opendev.org/728556
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5832292d9d02fb49ef80c032b230c43526dd9dfc
Submitter: Zuul
Branch: stable/queens

commit 5832292d9d02fb49ef80c032b230c43526dd9dfc
Author: Brian Haley <email address hidden>
Date: Mon Sep 9 09:51:30 2019 -0400

    Only notify nova of port status changes if configured

    Although notify_nova_on_port_status_changes defaults to true, it
    could be to false, making the nova_notifier attribute unsafe to
    use without checking.

    This patch checks both the config option and that the attribute
    exists, since the config could be changed after the plugin is
    already initialized without the nova_notifier attribute being set.

    Change-Id: Ide0f93275e60dffda10b7da59f6d81c5582c3849
    Closes-bug: #1843269
    (cherry picked from commit ab4320edb4661f74465ec49166f8d35b8216035f)