← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1455320] Re: OVS-agent: AttributeError: 'NoneType' object has no attribute 'update'

 

** Changed in: neutron
       Status: Fix Committed => 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/1455320

Title:
  OVS-agent: AttributeError: 'NoneType' object has no attribute 'update'

Status in neutron:
  Fix Released

Bug description:
  change I90b4d2485e3e491f496dfb7bdee03d57f393be35 seems failing to
  handle cases where db_get_val returns None gracefully.

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcIkF0dHJpYnV0ZUVycm9yOiAnTm9uZVR5cGUnIG9iamVjdCBoYXMgbm8gYXR0cmlidXRlICd1cGRhdGUnXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MzE2NjIyOTg1NDZ9

  [req-e235481e-8981-4f15-bf62-0c47b97505dd None None] Error while processing VIF ports
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/new/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1643, in rpc_loop
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/new/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1412, in process_network_ports
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     devices_added_updated, ovs_restarted))
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/new/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1318, in treat_devices_added_or_updated
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/new/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1220, in treat_vif_port
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     fixed_ips, device_owner, ovs_restarted)
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/opt/stack/new/neutron/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 730, in port_bound
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     port_other_config.update(vlan_mapping)
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent AttributeError: 'NoneType' object has no attribute 'update'
  2015-05-15 03:36:33.954 4996 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent

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


References