[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

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

2012-10-03 Thread Pitucha, Stanislaw Izaak
@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] Discussion / proposal: deleted column marker On Tue, Oct 02, 2012, Pitucha, Stanislaw Izaak

[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

[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 prints I get to the stage where the api (for example metadata) app is being loaded in

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

[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

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

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,

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

[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