yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65650
[Bug 1653086] Re: Hit internal server error in lb creation with no subnets network
Reviewed: https://review.openstack.org/415673
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=433bd29d01b1b2b489938a12b43e960b9f47d38c
Submitter: Jenkins
Branch: master
commit 433bd29d01b1b2b489938a12b43e960b9f47d38c
Author: ZhaoBo <zhaobo6@xxxxxxxxxx>
Date: Thu Dec 29 19:03:16 2016 +0800
Raise VipNetworkInvalid when create lb with no-subnets vipnet
This patch throw VipNetworkInvalid in lb creation with vipnet, and there
isn't a subnet in it.
Closes-Bug: #1653086
Change-Id: Ica5e4229e2f8361a624c6c58936aff6df955a769
** Changed in: octavia
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1653086
Title:
Hit internal server error in lb creation with no subnets network
Status in neutron:
Confirmed
Status in octavia:
Fix Released
Bug description:
Currently, lbaas support create loadbalancer with vip-network. But if
there isn't a subnet in this vip-network. Neutron server will hit
internal error.
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron/neutron/api/v2/base.py", line 526, in do_create
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m return obj_creator(request.context, **kwargs)
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 362, in create_loadbalancer
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m allocate_vip=not driver.load_balancer.allocates_vip)
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 332, in create_loadbalancer
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m vip_address, vip_network_id)
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m File "/opt/stack/neutron-lbaas/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 155, in _create_port_for_load_balancer
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00m lb_db.vip_address = fixed_ip['ip_address']
2016-12-29 16:57:47.182 TRACE neutron.api.v2.resource ^[[01;35m^[[00mTypeError: 'NoneType' object has no attribute '__getitem__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1653086/+subscriptions
References