← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1835731] [NEW] Neutron server error: failed to update port DOWN

 

Public bug reported:

Before adding extra logging:

2019-07-03 13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc [req-
2b7602fb-e990-45ee-974f-ef3b55b41bed - - - - -] Failed to update device
d75fca78-2f64-4c5a-9a94-6684c753bf3d down

After adding logging:

2019-07-03 13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc [req-
2b7602fb-e990-45ee-974f-ef3b55b41bed - - - - -] Failed to update device
d75fca78-2f64-4c5a-9a94-6684c753bf3d down: 'NoneType' object has no
attribute 'started_at': AttributeError: 'NoneType' object has no
attribute 'started_at'2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc Traceback (most recent call last):2019-07-03
13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 367,
in update_device_list2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc     **kwargs)2019-07-03 13:35:54,701.701 17220
ERROR neutron.plugins.ml2.rpc   File "/usr/lib/python2.7/dist-
packages/neutron/plugins/ml2/rpc.py", line 233, in
update_device_down2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc     n_const.PORT_STATUS_DOWN, host)2019-07-03
13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
"/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line 319,
in notify_l2pop_port_wiring2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc     agent_restarted =
l2pop_driver.obj.agent_restarted(port_context)2019-07-03
13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
"/usr/lib/python2.7/dist-
packages/neutron/plugins/ml2/drivers/l2pop/mech_driver.py", line 253, in
agent_restarted2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc     if l2pop_db.get_agent_uptime(agent) <
cfg.CONF.l2pop.agent_boot_time:2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc   File "/usr/lib/python2.7/dist-
packages/neutron/plugins/ml2/drivers/l2pop/db.py", line 51, in
get_agent_uptime2019-07-03 13:35:54,701.701 17220 ERROR
neutron.plugins.ml2.rpc     return
timeutils.delta_seconds(agent.started_at,2019-07-03 13:35:54,701.701
17220 ERROR neutron.plugins.ml2.rpc AttributeError: 'NoneType' object
has no attribute 'started_at'

** Affects: neutron
     Importance: Undecided
     Assignee: Oleg Bondarev (obondarev)
         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/1835731

Title:
  Neutron server error: failed to update port DOWN

Status in neutron:
  New

Bug description:
  Before adding extra logging:

  2019-07-03 13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc [req-
  2b7602fb-e990-45ee-974f-ef3b55b41bed - - - - -] Failed to update
  device d75fca78-2f64-4c5a-9a94-6684c753bf3d down

  After adding logging:

  2019-07-03 13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc [req-
  2b7602fb-e990-45ee-974f-ef3b55b41bed - - - - -] Failed to update
  device d75fca78-2f64-4c5a-9a94-6684c753bf3d down: 'NoneType' object
  has no attribute 'started_at': AttributeError: 'NoneType' object has
  no attribute 'started_at'2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc Traceback (most recent call last):2019-07-03
  13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
  "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line
  367, in update_device_list2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc     **kwargs)2019-07-03 13:35:54,701.701 17220
  ERROR neutron.plugins.ml2.rpc   File "/usr/lib/python2.7/dist-
  packages/neutron/plugins/ml2/rpc.py", line 233, in
  update_device_down2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc     n_const.PORT_STATUS_DOWN, host)2019-07-03
  13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
  "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/rpc.py", line
  319, in notify_l2pop_port_wiring2019-07-03 13:35:54,701.701 17220
  ERROR neutron.plugins.ml2.rpc     agent_restarted =
  l2pop_driver.obj.agent_restarted(port_context)2019-07-03
  13:35:54,701.701 17220 ERROR neutron.plugins.ml2.rpc   File
  "/usr/lib/python2.7/dist-
  packages/neutron/plugins/ml2/drivers/l2pop/mech_driver.py", line 253,
  in agent_restarted2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc     if l2pop_db.get_agent_uptime(agent) <
  cfg.CONF.l2pop.agent_boot_time:2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc   File "/usr/lib/python2.7/dist-
  packages/neutron/plugins/ml2/drivers/l2pop/db.py", line 51, in
  get_agent_uptime2019-07-03 13:35:54,701.701 17220 ERROR
  neutron.plugins.ml2.rpc     return
  timeutils.delta_seconds(agent.started_at,2019-07-03 13:35:54,701.701
  17220 ERROR neutron.plugins.ml2.rpc AttributeError: 'NoneType' object
  has no attribute 'started_at'

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


Follow ups