Reviewed: https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/849178 Committed: https://opendev.org/openstack/neutron-dynamic-routing/commit/012f2358d23ef72518ef9bdef8a39f31b1fb86e2 Submitter: "Zuul (22348)" Branch: master
commit 012f2358d23ef72518ef9bdef8a39f31b1fb86e2 Author: Dr. Jens Harbott <[email protected]> Date: Sat Jul 9 09:45:45 2022 +0200 Fix missing functions in StaticScheduler Seems the original approach was too simple, it is causing some tracebacks due to missing functions. Closes-Bug: 1980235 Change-Id: I15ef7ec34eeccf4dfcce94b3bca2c853c4c4a609 ** 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/1980235 Title: StaticScheduler has not attribute schedule Status in neutron: Fix Released Bug description: Hi, When we are trying to use new StaticScheduler proposed in [0], it's failing, please check log error below : BGP dynamic routing agent 2022-06-29 10:00:49 controller1 2022-06-29 10:07:06.160 25 INFO neutron.wsgi [-] 192.168.205.10 "GET / HTTP/1.1" status: 200 len: 232 time: 0.0052805 2022-06-29 10:07:10.276 34 WARNING neutron.db.agentschedulers_db [req-8d9ed03d-67bd-4685-9697-69ca1e04214a - - - - -] Rescheduling bgp_speaker de024f06-f373-4e5f-8c60-02e2e4e737a9 from agent dd10802c-b5a2-4673-84d2-a26aa09199fc because the agent did not report to the server in the last 150 seconds. 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db [req-8d9ed03d-67bd-4685-9697-69ca1e04214a - - - - -] Exception encountered during bgp_speaker rescheduling.: AttributeError: 'StaticScheduler' object has no attribute 'schedule' 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db Traceback (most recent call last): 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db File "/var/lib/kolla/venv/lib/python3.9/site-packages/neutron/db/agentschedulers_db.py", line 172, in reschedule_resources_from_down_agents 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db reschedule_resource(context, binding_resource_id) 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db File "/var/lib/kolla/venv/lib/python3.9/site-packages/neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 168, in reschedule_bgp_speaker 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db self.schedule_bgp_speaker(context, bgp_speaker) 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db File "/var/lib/kolla/venv/lib/python3.9/site-packages/neutron_dynamic_routing/db/bgp_dragentscheduler_db.py", line 99, in schedule_bgp_speaker 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db agents = self.bgp_drscheduler.schedule(self, context, 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db AttributeError: 'StaticScheduler' object has no attribute 'schedule' 2022-06-29 10:07:10.311 34 ERROR neutron.db.agentschedulers_db 2022-06-29 10:07:36.434 25 INFO neutron.wsgi [-] 192.168.205.10 "GET / HTTP/1.1" status: 200 len: 232 time: 0.0038111 [0] https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/815265 Could you please fix it ? Thanks, Kevko To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1980235/+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

