← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1811740] Re: neutron qos_plugin AttributeError: 'NoneType' object has no attribute 'qos_policy_id'

 

** Description changed:

- In python 3.5 congress dsvm gate job, neutron qos plugin experiences the
- following error:
+ In congress dsvm gate job, neutron qos plugin began experiencing the
+ following error (master branch neutron==14.0.0.0b2.dev52):
  
- ERROR neutron.pecan_wsgi.hooks.translation [None req-4bb47849-a723-4366-be41-b5753ff57fdc admin admin] GET failed.: AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
+ ERROR neutron.pecan_wsgi.hooks.translation [None req-7b3d042a-af94-419c-ab38-a698bfcc77f5 tempest-TestNeutronV2Driver-1133229655 tempest-TestNeutronV2Driver-1133229655] GET failed.: AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
  [...]
  ERROR oslo_messaging.rpc.server   File "/opt/stack/new/neutron/neutron/services/qos/qos_plugin.py", line 102, in _extend_port_resource_request
  ERROR oslo_messaging.rpc.server     if net.qos_policy_id:
  ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
+ [http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/logs/screen-q-svc.txt.gz?level=ERROR#_Jan_15_20_07_10_822453]
  
- http://logs.openstack.org/91/630091/2/check/congress-devstack-py35-api-
- mysql/6797e81/logs/screen-q-svc.txt.gz?level=ERROR
+ The timing and the file suggests the error may have something to do with this recent neutron merge:
+ https://github.com/openstack/neutron/commit/83eb3e16138cbf3cd2df723020c07ac2f65c88ce
+ 
+ All environmental information is available here: http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/
+ http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/zuul-info/zuul-info.primary.txt
+ 
+ Additional logs are available here:
+ http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/logs/

** Also affects: neutron
   Importance: Undecided
       Status: New

** Summary changed:

- neutron qos_plugin AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
+ neutron GET ports 500 error: 'NoneType' object has no attribute 'qos_policy_id'

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1811740

Title:
  neutron GET ports 500 error: 'NoneType' object has no attribute
  'qos_policy_id'

Status in congress:
  New
Status in neutron:
  New

Bug description:
  In congress dsvm gate job, neutron qos plugin began experiencing the
  following error (master branch neutron==14.0.0.0b2.dev52):

  ERROR neutron.pecan_wsgi.hooks.translation [None req-7b3d042a-af94-419c-ab38-a698bfcc77f5 tempest-TestNeutronV2Driver-1133229655 tempest-TestNeutronV2Driver-1133229655] GET failed.: AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
  [...]
  ERROR oslo_messaging.rpc.server   File "/opt/stack/new/neutron/neutron/services/qos/qos_plugin.py", line 102, in _extend_port_resource_request
  ERROR oslo_messaging.rpc.server     if net.qos_policy_id:
  ERROR oslo_messaging.rpc.server AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
  [http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/logs/screen-q-svc.txt.gz?level=ERROR#_Jan_15_20_07_10_822453]

  The timing and the file suggests the error may have something to do with this recent neutron merge:
  https://github.com/openstack/neutron/commit/83eb3e16138cbf3cd2df723020c07ac2f65c88ce

  All environmental information is available here: http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/
  http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/zuul-info/zuul-info.primary.txt

  Additional logs are available here:
  http://logs.openstack.org/74/621974/2/check/congress-devstack-api-mysql/8c0dd86/logs/

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