[Bug 1694420] Re: AttributeError: 'NoneType' object has no attribute 'port_security_enabled

James Page james.page at ubuntu.com
Wed Jun 21 13:21:13 UTC 2017


** Also affects: neutron (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1694420

Title:
  AttributeError: 'NoneType' object has no attribute
  'port_security_enabled

Status in neutron:
  Fix Released
Status in neutron package in Ubuntu:
  New

Bug description:
  Hi, I'm seeing in kolla gates failing with this error:
  AttributeError: 'NoneType' object has no attribute 'port_security_enabled'

  Instances fail to deploy while retrieving the port in
  openvswitch_agent.

  I think may be related to this recent change
  https://review.openstack.org/#/c/466158/

  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc [req-3d80325e-9430-46d2-ace7-b5a6ad358d77 - - - - -] Failed to get details for device c22edc09-6451-4b78-9160-399fd549314e
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc Traceback (most recent call last):
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/rpc.py", line 219, in get_devices_details_list_and_failed_devices
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc     self.get_device_details(context, device, agent_id, host))
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/rpc.py", line 257, in get_device_details
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc     'port_security_enabled': port_obj.security.port_security_enabled,
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc AttributeError: 'NoneType' object has no attribute 'port_security_enabled'
  2017-05-30 10:05:23.865 7 ERROR neutron.agent.rpc

  http://logs.openstack.org/93/463593/17/check/gate-kolla-dsvm-deploy-
  centos-source-centos-7-nv/f61667d/logs/kolla/neutron/neutron-
  openvswitch-agent.txt.gz#_2017-05-30_10_05_23_865

  
  Environment:

  Source code from master
  Distributions affected: centos, ubuntu, oraclelinux

  
  Regards

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



More information about the Ubuntu-openstack-bugs mailing list