Are there any general guidelines to avoid these db lock timeout issues in the third party neutron plugins??
Thanks, Divya On Tue, May 10, 2016 at 1:57 PM, Divya <[email protected]> wrote: > Hi, > I am trying to run this rally test on stable/kilo > https://github.com/openstack/rally/blob/master/samples/tasks/scenarios/neutron/create_and_delete_routers.json > > with concurrency 50 and iterations 2000. > > This test basically cretaes routers and subnets > and then calls > router-interface-add > router-interface-delete > > > And i am running this against 3rd party Nuage plugin. > > In the NuagePlugin: > > add_router_interface is something like this: > ---------------------------- > super().add_router_interface > try: > some calls to external rest server > super().delete_port > except: > > > remove_router_interface: > ----------------------------------- > super().remove_router_interface > some calls to external rest server > super().create_port() > some calls to external rest server > > > If i comment delete_port in the add_router_interface, i am not hitting the > db lockout issue. > delete_port or any other operations are not within any transaction. > So not sure, why this is leading to db lock timeouts in insert to > routerport > > error trace > http://paste.openstack.org/show/496626/ > > > > Really appreciate any help on this. > > Thanks, > Divya > > > > > > > > > > > > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
