Reviewed:  https://review.opendev.org/c/openstack/neutron/+/946877
Committed: 
https://opendev.org/openstack/neutron/commit/b993f3c9a20cfd2208db07fcda8c46d6a8843bac
Submitter: "Zuul (22348)"
Branch:    master

commit b993f3c9a20cfd2208db07fcda8c46d6a8843bac
Author: Rodolfo Alonso Hernandez <ralon...@redhat.com>
Date:   Thu Apr 10 09:02:55 2025 +0000

    Return a HTTP404 message when the Metadata instance is not present
    
    If the Metadata instance (network, router) is not present, now the
    Metadata proxy handler writes a HTTP 404 error message in the socket
    file that is received by the client (virtual machine) that requests
    the metadata.
    
    Closes-Bug: #2106713
    Change-Id: Ic717de94f2c483c08e2aa8fe688fe2e88d17d035


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to