Re: [Openstack] profiling nova-api

2012-04-12 Thread Pitucha, Stanislaw Izaak
Just a small warning: since cProfile has its own overhead on entering/exiting every method and uses deterministic rather than statistical profiling, it may misrepresent tiny functions. They will take much more wall-clock time simply due to the profiling overhead * number of executions. I'm not s

[Openstack] Api startup issue (maybe pastedeploy related)

2012-07-13 Thread Pitucha, Stanislaw Izaak
Hi all, I just tried to install nova from the folsom-2 package and run into an issue with the api server, which I can't really figure out. Tracking the progress with a large number of strategically placed "print"s I get to the stage where the api (for example metadata) app is being loaded in loa

[Openstack] Discussion / proposal: deleted column marker

2012-10-02 Thread Pitucha, Stanislaw Izaak
Hi all, I'd like to open a discussion on a topic that's been bugging me for a number of reasons - soft deletes (by that I mean marking rows with deleted=1 in the db) and related - actions audit. Some research and speculations first... To be honest I could not find any reason why the feature is ther

Re: [Openstack] Discussion / proposal: deleted column marker

2012-10-03 Thread Pitucha, Stanislaw Izaak
Services Hewlett Packard -Original Message- From: openstack-bounces+stanislaw.pitucha=hp@lists.launchpad.net [mailto:openstack-bounces+stanislaw.pitucha=hp@lists.launchpad.net] On Behalf Of Johannes Erdfelt Sent: Tuesday, October 02, 2012 6:12 PM To: openstack@lists.launchpad.net Subject: Re

[Openstack] Rechecking changes if jenkins fails

2012-10-15 Thread Pitucha, Stanislaw Izaak
Hi all, Is there some way to trigger another check when Jenkins fails because of issues unrelated to the change? For example last time I submitted https://review.openstack.org/14374 Jenkins failed job gate-nova-docs, but that was because some package could not be downloaded properly: 01:31:58 Down

[Openstack] mocking database and stubs

2011-09-15 Thread Pitucha, Stanislaw Izaak
Hi all, I've got some questions about testing the bits affecting the database. Currently some places use mox, some use db_fake / stubs - this unfortunately fails when I try to add another test: In VlanManager.setup_compute_network(), there's a call to db.network_get_by_instance. I needed to tes

Re: [Openstack] Nova DB Connection Pooling

2011-09-26 Thread Pitucha, Stanislaw Izaak
The pain starts when your max memory usage crosses what you have available. Check http://dev.mysql.com/doc/refman/5.1/en/memory-use.html - especially comments which calculate the needed memory for N connections for both innodb and isam. (mysqltuner.pl will also calculate that for you) Hundreds o

[Openstack] translation files in review

2011-10-03 Thread Pitucha, Stanislaw Izaak
Hi all, Could someone tell me how to handle the translation files properly when submitting a commit for review? Should I just ignore all the local modification for po/nova.pot? Or should I regenerate the .pot with setup.py build_i18n and submit the new version? Regards, Stanisław Pitucha Cloud

Re: [Openstack] FOSDEM 2012: OpenStack Devroom

2011-10-10 Thread Pitucha, Stanislaw Izaak
> I was wondering if there was enough interest from OpenStack developers, > users and enthusiasts in Europe to warrant an OpenStack devroom. If you I'd be definitely interested in joining that devroom. Whether it's for the presentations or just putting faces to some names from the community. Rega

Re: [Openstack] [Nova] MySQL drivers in DB

2011-10-12 Thread Pitucha, Stanislaw Izaak
I'm not that interested in engines - this does look out of scope, since forcing something here might prevent people from running mysql cluster (ndb engine is required then). I was wondering about indexes though - I was going to submit a patch for it in the future actually. Since big, db-stoppin

Re: [Openstack] Expectations for tracebacks

2011-12-15 Thread Pitucha, Stanislaw Izaak
> I think all are bugs. > > Even if you understand some of them and considers them to be logical, > you should not see ugly backtraces. You should see nice log lines any > system administrator can read and understand clearly. I agree. There are some other practical reasons for it too: - Exceptions

[Openstack] various questinons about connections to rabbitmq

2012-01-03 Thread Pitucha, Stanislaw Izaak
Hi all, Could someone explain what's the relation between the internal threading and number of rabbitmq connections that can exist on a single service? (in diablo final) I'm wondering under what circumstances can I get multiple connections from a single compute or network manager to the rabbitm