Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent manager raises KeyError exception during load balancer sync #1228

Closed
jlongstaf opened this issue Jan 19, 2018 · 0 comments
Closed

Agent manager raises KeyError exception during load balancer sync #1228

jlongstaf opened this issue Jan 19, 2018 · 0 comments
Assignees
Labels

Comments

@jlongstaf
Copy link
Contributor

Agent Version

10.1.0

Operating System

CentOS

OpenStack Release

Newton

Description

Agent manager can throw a KeyError exception when syncing loadbalancer.
Example:
25937 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager [-] Unable to sync state: d999b1bc-9033-492d-903c-27721730240b
25938 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager Traceback (most recent call last):
25939 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/local/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py", line 600, in sync_state
25940 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager resync = self._refresh_pending_services()
25941 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager File "/usr/local/lib/python2.7/dist-packages/f5_openstack_agent/lbaasv2/drivers/bigip/agent_manager.py", line 650, in _refresh_pending_services
25942 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager del self.pending_services[lb_id]
25943 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager KeyError: u'd999b1bc-9033-492d-903c-27721730240b'
25944 2018-01-19 14:36:11.894 30355 ERROR f5_openstack_agent.lbaasv2.drivers.bigip.agent_manager

Deployment

F5 test lab deployment

@jlongstaf jlongstaf added the bug label Jan 19, 2018
@jlongstaf jlongstaf self-assigned this Jan 19, 2018
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manager can raise KeyError exception when syncing
pending load balancers.

Analysis: Added try/except block to catch KeyError exception and
log and error.

Tests: Tempest API tests.
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manager can raise KeyError exception when syncing
pending load balancers.

Analysis: Added try/except block to catch KeyError exception and
log and error.

Tests: Tempest API tests.
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manager can raise KeyError exception when syncing
pending load balancers.

Analysis: Added try/except block to catch KeyError exception and
log and error.

Tests: Tempest API tests.
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
jlongstaf added a commit to jlongstaf/f5-openstack-agent that referenced this issue Jan 19, 2018
Issues:
Fixes F5Networks#1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
richbrowne pushed a commit that referenced this issue Jan 20, 2018
)

Issues:
Fixes #1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
richbrowne pushed a commit that referenced this issue Jan 20, 2018
)

Issues:
Fixes #1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
richbrowne pushed a commit that referenced this issue Jan 20, 2018
)

Issues:
Fixes #1228

Problem: Agent manger raises KeyError exception when it deletes
a LB ID that is no longer in collection of pending services.

Analysis: Added try/except block to catch KeyError and log exception.

Tests: Tempest tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant