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

commit c6f5c05778076c653e47c6cb7e726bff7016b860
Author: minsu <[email protected]>
Date:   Thu May 22 23:56:51 2025 +0800

    Update OVN_AGENT_METADATA_SB_CFG_KEY when OVN metadata agent starts
    
    If the metadata agent is not present in the local AgentCache and the
    report time (agent_down_time) is too long, the Neutron API will delay
    the Chassis_Private update. As a result, the agent will not update the
    corresponding record properly. Consequently, the newly added metadata
    agent will not appear in the output of the openstack network agent
    list command.
    
    This patch aims to update OVN_AGENT_METADATA_SB_CFG_KEY to nb_cfg as
    soon as the metadata agent starts.
    
    Closes-Bug: #2111475
    Change-Id: Ic12b6ed3cd84dca16f5081dc646717d0a5be318b


** 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/2111475

Title:
  openstack network agent list cannot return new added metadata agent

Status in neutron:
  Fix Released

Bug description:
  Summary
  * If the agent_down_time is set to a large value, openstack network agent 
list might not return newly added metadata agents

  Reproduction Steps
  * Set agent_down_time in neutron.conf to 2147483 in large cluster
  * Add new compute nodes
  * OVN controller started -> chassis & chassis_private (external_ids={}) 
recorded created in ovn sb db
  * Neutron metadata agent started -> update chassis_private external_ids 
neutron:ovn-metadata-id with agent_id
  * run "openstack network agent list" command

  Expected output:
  * New added "OVN Metadata agent" will be returned

  Actual output:
  * New add "OVN Metadata agent" won't return

  Version:
  * stable/2024.1
  * master

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2111475/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to