Comment 14 for bug 1475393

Revision history for this message
Varun Lodaya (varun-lodaya) wrote : Re: [Bug 1475393] Re: Allow custom configs with LBaaS

Found the regression, submitted a review with the fix
https://review.opencontrail.org/#/c/13181/

Thanks,
Varun

On 8/19/15, 6:50 AM, "eon" <email address hidden> wrote:

>While making some benchs around lbaas I get tracebacks caused by this
>commit:
>
>2015-08-19 13:49:04.060 ERROR neutron.api.v2.resource
>[req-62cafad8-e71c-45a2-ae60-3d7e7d22678c
>ctx_rally_ef53fb6cd05c49af955a3fd992ab7f25_user_0
>ef53fb6cd05c49af955a3fd992ab7f25] create failed
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource Traceback (most
>recent call last):
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/neutron/neutron/api/v2/resource.py", line 87, in resource
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource result =
>method(request=request, **args)
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/neutron/neutron/api/v2/base.py", line 448, in create
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource obj =
>obj_creator(request.context, **kwargs)
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plug
>ins/opencontrail/loadbalancer/plugin.py", line 22, in create_pool
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource return
>super(LoadBalancerPlugin, self).create_pool(context, pool)
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plug
>ins/opencontrail/loadbalancer/loadbalancer_db.py", line 121, in
>create_pool
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource return
>self._pool_manager.create(context, pool)
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plug
>ins/opencontrail/loadbalancer/loadbalancer_pool.py", line 178, in create
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource
>self.create_update_custom_attributes(p['custom_attributes'],
>custom_attributes)
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource File
>"/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plug
>ins/opencontrail/loadbalancer/loadbalancer_pool.py", line 45, in
>create_update_custom_attributes
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource for
>custom_attribute in custom_attributes or []:
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource TypeError: 'object'
>object is not iterable
>2015-08-19 13:49:04.060 TRACE neutron.api.v2.resource
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1475393
>
>Title:
> Allow custom configs with LBaaS
>
>Status in Juniper Openstack:
> In Progress
>Status in Juniper Openstack trunk series:
> In Progress
>Status in OpenContrail:
> New
>
>Bug description:
> LBaaS today spawns an HAProxy process with default HAProxy configs.
> Different applications require different set of configurations for
> optimal performance. We want to give our customers more power over
> controlling their HAProxy configs via Openstack APIs.
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/juniperopenstack/+bug/1475393/+subscriptions