diff options
author | Pierre Riteau <pierre@stackhpc.com> | 2023-02-24 05:34:07 +0100 |
---|---|---|
committer | Pierre Riteau <pierre@stackhpc.com> | 2023-02-24 05:34:07 +0100 |
commit | 827fbd01c306ce292e46b0d881bc3cc804202285 (patch) | |
tree | e3be1040417172c1985031356b8ad37e00478935 /releasenotes | |
parent | aa40aef70fac609c086c4c6511c6b17e597da044 (diff) | |
download | neutron-827fbd01c306ce292e46b0d881bc3cc804202285.tar.gz |
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
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/fix-ovn-agent-heartbeat-timestamp-format-dcf80badbe267c68.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-ovn-agent-heartbeat-timestamp-format-dcf80badbe267c68.yaml b/releasenotes/notes/fix-ovn-agent-heartbeat-timestamp-format-dcf80badbe267c68.yaml new file mode 100644 index 0000000000..0f806e7b8a --- /dev/null +++ b/releasenotes/notes/fix-ovn-agent-heartbeat-timestamp-format-dcf80badbe267c68.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Normalise OVN agent heartbeat timestamp format to match other agent types. + This fixes parsing of ``GET /v2.0/agents`` for some clients, such as + gophercloud. |