neutron/neutron/tests/functional
Pierre Riteau 177956506e Normalise format of OVN agent heartbeat timestamp
A recent change [1] to show the real heartbeat timestamp from OVN agents
had a side effect of changing the timestamp format, which now includes a
timezone:

    +-------------------+----------------------------------+
    | Field             | Value                            |
    +-------------------+----------------------------------+
    | last_heartbeat_at | 2023-02-23 14:12:07.471000+00:00 |
    +-------------------+----------------------------------+

This unexpected format change causes some clients to fail to parse the
response to GET /v2.0/agents.

Normalise the format of the timestamp to remove timezone information.
Also remove the microsecond part, which was not done for OVN, but is
absent from other network agents.

[1] https://review.opendev.org/c/openstack/neutron/+/844179

Closes-Bug: #2008257
Change-Id: I75a37fb9b49a421e4524da6b56ef8362ceb6107b
(cherry picked from commit 827fbd01c3)
2023-02-27 12:42:19 +00:00
..
agent Set ip_nonlocal_bind to 1 for HA routers and DVR snat 2023-01-13 08:46:16 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
common ovn: Use ovsdb-client to create neutron_pg_drop 2022-10-11 13:38:27 -04:00
db Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
objects [Functional] Fix tests for oslo.db>=12.1.0 2022-09-08 17:48:28 +00:00
pecan_wsgi [API] Return 403 for POST requests when user is not authorized 2022-04-11 10:51:26 +00:00
plugins Normalise format of OVN agent heartbeat timestamp 2023-02-27 12:42:19 +00:00
privileged Add a default table in "ip rule" command 2022-07-27 20:55:23 +02:00
resources Skip "PortBindingChassisEvent" if revision number changes 2022-05-16 15:53:15 +00:00
sanity Use pyroute2 for SRIOV VF commands 2020-05-27 16:58:02 +00:00
scheduler Use more pythonic approach 2021-08-25 18:02:53 -07:00
services [OVN] Bump the port revision number in trunk driver 2023-02-14 08:52:50 +00:00
tests Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Since OVN 20.06, config is stored in "Chassis.other_config" 2022-11-02 11:57:08 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Update requirements for recent pip failures 2020-12-09 13:17:51 +01:00
test_server.py Wait until workers have been launched 2021-07-29 15:49:50 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00