← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1980235] [NEW] StaticScheduler has not attribute schedule

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: Confirmed


** Tags: l3-bgp

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

Title:
  StaticScheduler has not attribute schedule

Status in neutron:
  Confirmed

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



Follow ups