Reviewed:  https://review.openstack.org/469327
Committed: 
https://git.openstack.org/cgit/openstack/neutron/commit/?id=817f39e49599c3308b5d619163a2426269633067
Submitter: Jenkins
Branch:    master

commit 817f39e49599c3308b5d619163a2426269633067
Author: Kevin Benton <[email protected]>
Date:   Tue May 30 21:38:45 2017 -0700

    Provide fallback for disabled port security extension
    
    The push notification logic always assumed the port security object
    would exist but it is not present on the port when the extension is
    disabled. This defaults it to true like the server side code.[1]
    
    1.
    
https://github.com/openstack/neutron/blob/c430e9b8d41c139284e840be37629afcdbc96b37/neutron/plugins/ml2/rpc.py#L142
    
    Change-Id: Ice89ad9dd486ad5fcac534ef5f7d8aae3b6b0f97
    Closes-Bug: #1694420


** Changed in: neutron
       Status: In Progress => 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/1694420

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

Status in kolla-ansible:
  Confirmed
Status in neutron:
  Fix Released

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/kolla-ansible/+bug/1694420/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to