yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83479
[Bug 1890027] [NEW] dhcp agent crashes when deleting network if bulk reload enabled
Public bug reported:
If DHCP bulk reload is enabled, I get the following crash in the bulk
reload loop when deleting a network:
Running command: 'neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini'
+ exec neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 461, in fire_timers
timer()
File "/usr/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__
cb(*args, **kw)
File "/usr/lib/python3.6/site-packages/neutron/agent/dhcp/agent.py", line 161, in _reload_bulk_allocations
self.call_driver('bulk_reload_allocations', network)
File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper
result = f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/neutron/agent/dhcp/agent.py", line 167, in call_driver
{'net': network.id, 'action': action})
AttributeError: 'NoneType' object has no attribute 'id'
+ sudo -E kolla_set_configs
Line numbers might differ slightly due to my patch for
https://bugs.launchpad.net/neutron/+bug/1886969 but the issue is present
without my change.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1890027
Title:
dhcp agent crashes when deleting network if bulk reload enabled
Status in neutron:
New
Bug description:
If DHCP bulk reload is enabled, I get the following crash in the bulk
reload loop when deleting a network:
Running command: 'neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini'
+ exec neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/eventlet/hubs/hub.py", line 461, in fire_timers
timer()
File "/usr/lib/python3.6/site-packages/eventlet/hubs/timer.py", line 59, in __call__
cb(*args, **kw)
File "/usr/lib/python3.6/site-packages/neutron/agent/dhcp/agent.py", line 161, in _reload_bulk_allocations
self.call_driver('bulk_reload_allocations', network)
File "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper
result = f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/neutron/agent/dhcp/agent.py", line 167, in call_driver
{'net': network.id, 'action': action})
AttributeError: 'NoneType' object has no attribute 'id'
+ sudo -E kolla_set_configs
Line numbers might differ slightly due to my patch for
https://bugs.launchpad.net/neutron/+bug/1886969 but the issue is
present without my change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1890027/+subscriptions
Follow ups