lp:~soren/nova/volume-tests

Created by Soren Hansen and last modified
Get this branch:
bzr branch lp:~soren/nova/volume-tests
Only Soren Hansen can upload to this branch. If you are Soren Hansen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Soren Hansen
Project:
OpenStack Compute (nova)
Status:
Merged

Recent revisions

271. By Soren Hansen

Move vol.destroy() call out of the _check method in test_multiple_volume_race_condition test and into a callback of the DeferredList. This should fix the intermittent failure of that test. I /think/ test_too_many_volumes's failure was caused by test_multiple_volume_race_condition failure, since I have not been able to reproduce its failure after fixing this one.

270. By Soren Hansen

It's annoying and confusing to have to set PYTHONPATH to point to your
development tree before you run any of the scripts.

If you're lucky, it just fails (because you don't have nova in the default
search path (i.e. don't have them installed in /usr/lib/blah)) so that you can
fix it up.

If you're less lucky, you spend at least a couple of minutes wondering
why the cool changes you made to one of the nova modules don't take effect
until you realise it's because it's using the nova stuff in /usr/lib.

So, to save myself (and probably others) a bit of time, this patch adds
a snippet to each of the scripts in bin/ to detect this and set up the PYTHONPATH.

269. By Soren Hansen

Just a couple of UML-only fixes:
 * Due to an issue with libvirt, we need to chown the disk image to root.
 * Just point UML's console directly at a file, and don't bother with the pty. It was only used for debugging.

268. By Michael Gundlach

Replace an if/else with a dict lookup to a factory method.

267. By Soren Hansen

Create console.log ahead of time. This ensures that the user running nova-compute maintains read privileges.

266. By Soren Hansen

This improves the changelog generated as part of "setup.py sdist". If you look at it now, it says that Tarmac has done everything and every little commit is listed. With this patch, it only logs the "top-most" commit and credits the author rather than the committer.

Example from the current output format (from current trunk):
##########################################
2010-08-31 Tarmac

        Adjust setup.py to match nova-rsapi -> nova-api-new rename.

2010-08-31 Soren Hansen <email address hidden>

        Fix up setup.py to match nova-rsapi -> nova-api-new rename.

2010-08-30 Tarmac

        Reconnect to libvirt on broken connection.

2010-08-30 Soren Hansen <email address hidden>

        Detect if libvirt connection has been broken and reestablish it.

2010-08-30 Tarmac

        pylint fixes for /nova/virt/connection.py

2010-08-30 <email address hidden>

        Merge trunk and resolve conflicts

##########################################

With this patch, this is reduced to:

##########################################
2010-08-31 Soren Hansen <email address hidden>

        Adjust setup.py to match nova-rsapi -> nova-api-new rename.

2010-08-30 Soren Hansen <email address hidden>

        Reconnect to libvirt on broken connection.

2010-08-30 <email address hidden>

        pylint fixes for /nova/virt/connection.py

##########################################

265. By Matt Dietz

Moved API tests into a sub-folder of the tests/ and added a stubbed-out test declarations to mirror existing API tickets.

Resubmission from earlier because of my improper file move.

264. By Soren Hansen

Call getInfo() instead of getVersion() on the libvirt connection object. virConnectGetVersion was not exposed properly in the python bindings until quite recently, so this makes us rather more backwards compatible.

263. By Soren Hansen

Adjust setup.py to match nova-rsapi -> nova-api-new rename.

262. By Soren Hansen

Reconnect to libvirt on broken connection.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hudson-openstack/nova/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers