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
Found the regression, submitted a review with the fix /review. opencontrail. org/#/c/ 13181/
https:/
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 api.v2. resource e71c-45a2- ae60-3d7e7d2267 8c ef53fb6cd05c49a f955a3fd992ab7f 25_user_ 0 af955a3fd992ab7 f25] create failed api.v2. resource Traceback (most api.v2. resource File stack/neutron/ neutron/ api/v2/ resource. py", line 87, in resource api.v2. resource result = request= request, **args) api.v2. resource File stack/neutron/ neutron/ api/v2/ base.py" , line 448, in create api.v2. resource obj = request. context, **kwargs) api.v2. resource File stack/contrail/ openstack/ neutron_ plugin/ neutron_ plugin_ contrail/ plug il/loadbalancer /plugin. py", line 22, in create_pool api.v2. resource return LoadBalancerPlu gin, self).create_ pool(context, pool) api.v2. resource File stack/contrail/ openstack/ neutron_ plugin/ neutron_ plugin_ contrail/ plug il/loadbalancer /loadbalancer_ db.py", line 121, in api.v2. resource return pool_manager. create( context, pool) api.v2. resource File stack/contrail/ openstack/ neutron_ plugin/ neutron_ plugin_ contrail/ plug il/loadbalancer /loadbalancer_ pool.py" , line 178, in create api.v2. resource update_ custom_ attributes( p['custom_ attributes' ], api.v2. resource File stack/contrail/ openstack/ neutron_ plugin/ neutron_ plugin_ contrail/ plug il/loadbalancer /loadbalancer_ pool.py" , line 45, in update_ custom_ attributes api.v2. resource for api.v2. resource TypeError: 'object' api.v2. resource /bugs.launchpad .net/bugs/ 1475393 /bugs.launchpad .net/juniperope nstack/ +bug/1475393/ +subscriptions
>commit:
>
>2015-08-19 13:49:04.060 ERROR neutron.
>[req-62cafad8-
>ctx_rally_
>ef53fb6cd05c49
>2015-08-19 13:49:04.060 TRACE neutron.
>recent call last):
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>2015-08-19 13:49:04.060 TRACE neutron.
>method(
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>2015-08-19 13:49:04.060 TRACE neutron.
>obj_creator(
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>ins/opencontra
>2015-08-19 13:49:04.060 TRACE neutron.
>super(
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>ins/opencontra
>create_pool
>2015-08-19 13:49:04.060 TRACE neutron.
>self._
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>ins/opencontra
>2015-08-19 13:49:04.060 TRACE neutron.
>self.create_
>custom_attributes)
>2015-08-19 13:49:04.060 TRACE neutron.
>"/opt/
>ins/opencontra
>create_
>2015-08-19 13:49:04.060 TRACE neutron.
>custom_attribute in custom_attributes or []:
>2015-08-19 13:49:04.060 TRACE neutron.
>object is not iterable
>2015-08-19 13:49:04.060 TRACE neutron.
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https:/
>
>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:/