Comment 10 for bug 1938478

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/869349
Committed: https://opendev.org/openstack/neutron/commit/d34afc5c13b0251c51f8c493b331900a46737512
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit d34afc5c13b0251c51f8c493b331900a46737512
Author: zhouhenglc <email address hidden>
Date: Thu Jul 29 15:49:39 2021 +0800

    [ovn]support read chassis update time from nb_cfg_timestamp

    nb_cfg_timestamp: The timestamp when ovn-controller finishes
    processing the change corresponding to nb_cfg[1]. it can better
    reflect the status of chassis.

    This patch updated some unit tests. ensure mock 'time.time' is
    stopped after test. if not stop, may affect "timeutils.utcnow_ts"
    to obtain the real time, cause test case
    'test_agent_with_nb_cfg_timestamp_not_timeout' failure.

    Partial-bug: #1938478
    [1] https://www.ovn.org/support/dist-docs/ovn-sb.5.html

    Conflicts:
      neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py
      neutron/tests/unit/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py
      neutron/tests/unit/agent/l2/extensions/dhcp/test_ipv6.py

    Change-Id: Ia74a9404411862dc88b48c4a198d5c53f5f52704
    (cherry picked from commit 9e263dcf00b7ddc102a54f5e681bcf09931f3a72)
    (cherry picked from commit cfc0678caf39a5ec002fc56a878275a94dc11b94)
    (cherry picked from commit 538712635cdccb5d121ead816018ca6efcc78f56)