You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues:
FixesF5Networks#1316
Problem: Agent logs exception that object has not attribute msg when logging InvalidNetworkType
exception.
Analysis: Code incorrectly passes .msg attribute. It should pass .message attribute instead.
Tests:
Agent Version
9.6.0
Operating System
RedHat
OpenStack Release
Neutron
Description
Error generated when agent attempts to log an InvalidNetworkType exception.
2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager [-] Unable to sync state: 'InvalidNetworkType' object has no attribute 'msg'
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager Traceback (most recent call last):
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/lib/python2.7/site-packages/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py", line 599, in sync_state
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager self._validate_services(all_loadbalancer_ids)
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/lib/python2.7/site-packages/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py", line 670, in _validate_services
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager self.validate_service(lb_id)
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/lib/python2.7/site-packages/oslo_log/helpers.py", line 48, in wrapper
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager return method(*args, **kwargs)
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/lib/python2.7/site-packages/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py", line 689, in validate_service
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager LOG.warning(exc.msg)
Jun 8 08:39:00 cvs1lco02 f5-oslbaasv2-agent: 2018-06-08 08:39:00.266 8833 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager AttributeError: 'InvalidNetworkType' object has no attribute 'msg'
The text was updated successfully, but these errors were encountered: