yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95723
[Bug 2106713] [NEW] Fix metadata return code when the instance is not present
Public bug reported:
Since [1][2], both the Metadata agent and the OVN Metadata agent do not
return anything if the instance is not found. That was marked as a TODO
in [3][4].
The goal of this bug is to address this TODO and return the proper HTTP
404 error to the metadata client.
This bug is related to:
* https://bugs.launchpad.net/neutron/+bug/2099896: [eventlet-removal] Remove the usage of eventlet in the Metadata agent
* https://bugs.launchpad.net/neutron/+bug/2087942: [eventlet-removal] Remove the usage of eventlet in the OVN agent
[1]https://review.opendev.org/c/openstack/neutron/+/942916
[2]https://review.opendev.org/c/openstack/neutron/+/937545
[3]https://github.com/openstack/neutron/blob/e0d9797a43b85c5d79aab0c81a56e937bf2ee6ce/neutron/agent/metadata/agent.py#L194
[4]https://github.com/openstack/neutron/blob/e0d9797a43b85c5d79aab0c81a56e937bf2ee6ce/neutron/agent/ovn/metadata/server_socket.py#L170
** Affects: neutron
Importance: Medium
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: Confirmed
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
** Changed in: neutron
Importance: Undecided => Medium
** Changed in: neutron
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2106713
Title:
Fix metadata return code when the instance is not present
Status in neutron:
Confirmed
Bug description:
Since [1][2], both the Metadata agent and the OVN Metadata agent do
not return anything if the instance is not found. That was marked as a
TODO in [3][4].
The goal of this bug is to address this TODO and return the proper
HTTP 404 error to the metadata client.
This bug is related to:
* https://bugs.launchpad.net/neutron/+bug/2099896: [eventlet-removal] Remove the usage of eventlet in the Metadata agent
* https://bugs.launchpad.net/neutron/+bug/2087942: [eventlet-removal] Remove the usage of eventlet in the OVN agent
[1]https://review.opendev.org/c/openstack/neutron/+/942916
[2]https://review.opendev.org/c/openstack/neutron/+/937545
[3]https://github.com/openstack/neutron/blob/e0d9797a43b85c5d79aab0c81a56e937bf2ee6ce/neutron/agent/metadata/agent.py#L194
[4]https://github.com/openstack/neutron/blob/e0d9797a43b85c5d79aab0c81a56e937bf2ee6ce/neutron/agent/ovn/metadata/server_socket.py#L170
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2106713/+subscriptions
Follow ups