Forum Discussion
Openstack LBaaS driver throwing error
When I enable global_routed_mode in /etc/neutron/f5-bigip-lbaas-agent.ini, I can no longer add members to a pool, and in the f5 log I see the following error message:
Traceback (most recent call last): File "/opt/stack/neutron/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data **args) File "/opt/stack/neutron/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch result = getattr(proxyobj, method)(ctxt, *kwargs) File "/opt/stack/neutron/neutron/common/log.py", line 34, in wrapper return method(args, *kwargs) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/agent_manager.py", line 505, in create_member self.driver.create_member(member, service) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 205, in wrapper result = method(args, *kwargs) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 120, in wrapper return method(args, **kwargs) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 340, in create_member self._assure_service(service) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 532, in _assure_service self._assure_members(service, bigip, ctxs) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 775, in _assure_members self._assure_device_members(service, bigip, ctx, on_last_bigip) File "/opt/stack/neutron/neutron/services/loadbalancer/drivers/f5/bigip/icontrol_driver.py", line 809, in _assure_device_members if network['shared']: TypeError: 'NoneType' object has no attribute '__getitem__'
The cause is that there is no network details passed with the call so when the icontrol driver attempts to set the net_folder variable based on whether the members network is shared or not, it throws a typeerror.
Any ideas on how to resolve or a further causes of this issue?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com