I noticed in the Openvswitch agent logs in the CI jobs stacktraces like:
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc [None req-024660c2-8e49-4135-8322-2ea29fac319e None None] Failed to get details for device d9cdde27-90fa-425f-a42c-f8464806457f: AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc Traceback (most recent call last):
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc File "/opt/stack/neutron/neutron/agent/rpc.py", line 321, in get_devices_details_list_and_failed_devices
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc self.get_device_details(context, device, agent_id, host,
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc File "/opt/stack/neutron/neutron/agent/rpc.py", line 355, in get_device_details
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc qos_network_policy_id = net.qos_policy_id
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc AttributeError: 'NoneType' object has no attribute 'qos_policy_id'
Dec 12 09:44:51.014564 nested-virt-ubuntu-jammy-ovh-bhs1-0032473968 neutron-openvswitch-agent[57685]: ERROR neutron.agent.rpc
Example of such error: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d8f/860270/8/check/neutron-tempest-plugin-openvswitch/d8f61ec/controller/logs/screen-q-agt.txt
It don't cause job failure but should be handled in better way in the code to avoid ugly stacktraces.
Search link with OpenSearch: /opensearch. logs.openstack. org/_dashboards /app/discover/ ?security_ tenant= global# /?_g=(filters: !(),refreshInte rval:(pause: !t,value: 0),time: (from:now- 30d,to: now))&_ a=(columns: !(build_ name,build_ status) ,filters: !(),index: '94869730- aea8-11ec- 9e6a-83741af3fd cd',interval: auto,query: (language: kuery,query: 'message: %22AttributeErr or:%20! 'NoneType! '%20object% 20has%20no% 20attribute% 20!'qos_ policy_ id!'%22' ),sort: !())
https:/