Public bug reported: Add a configurable (opt-in) feature to terminate the Neutron agent when Open vSwitch restarts, allowing for clean recovery through service manager restart mechanisms.
When Open vSwitch (OVS) restarts, the current recovery process for network services can be unreliable, leading to networking issues that require manual intervention, in general this intervention is force restart of agent. Proposed change is to add two (2) new configuration options: - OVS_TERMINATE_ON_RESTART (type: boolean, default: False) - OVS_RESTART_EXIT_CODE (type: integer, optional) and extend `ovs_const.OVS_RESTARTED` handling logic (self.int_br.check_canary_table()) to trigger `sys.exit($OVS_RESTART_EXIT_CODE)` when OVS_TERMINATE_ON_RESTART config option is enabled. ** Affects: neutron Importance: Undecided Status: New ** Tags: rfe ** Tags added: rfe -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2086776 Title: [RFE] Configurable Agent Termination on OVS Restart Status in neutron: New Bug description: Add a configurable (opt-in) feature to terminate the Neutron agent when Open vSwitch restarts, allowing for clean recovery through service manager restart mechanisms. When Open vSwitch (OVS) restarts, the current recovery process for network services can be unreliable, leading to networking issues that require manual intervention, in general this intervention is force restart of agent. Proposed change is to add two (2) new configuration options: - OVS_TERMINATE_ON_RESTART (type: boolean, default: False) - OVS_RESTART_EXIT_CODE (type: integer, optional) and extend `ovs_const.OVS_RESTARTED` handling logic (self.int_br.check_canary_table()) to trigger `sys.exit($OVS_RESTART_EXIT_CODE)` when OVS_TERMINATE_ON_RESTART config option is enabled. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2086776/+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