lp:~soren/nova/get-console-log-fixes

Created by Soren Hansen and last modified
Get this branch:
bzr branch lp:~soren/nova/get-console-log-fixes
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

357. By Soren Hansen

Merge trunk

356. By Soren Hansen

Fix two problems with get_console_log:
libvirt has this annoying "feature" where it chown()s your console to the uid running libvirt. That gets in the way of reading it.
We were looking in the wrong directory for console.log. *blush*

355. By Soren Hansen

Make Redis completely optional:

 * Move Redis code into fakeldap, since it's the only thing that still uses it.
 * Adjust auth unittests to skip fakeldap tests if Redis isn't around.
 * Adjust auth unittests to actually run the fakeldap tests if Redis /is/ around.

354. By termie

run_tests.sh presents a prompt:

No virtual environment found...create one? (Y/n)

However hitting enter to select the default (Y) actually selects 'n', this patch fixes that.

In all reality this should probably be slightly smarter and not accept invalid input as invalid input will mean "no" and probably result in an unexpected error depending on what the user has installed, but for now it will at least do what is expected in the "happy" case.

353. By Vish Ishaya

A few more fixes for deprecations.

352. By Vish Ishaya

This branch modifies the fixes all of the deprecation warnings about empty context. It does this by adding the following fixes/features
  * promotes api/context.py to context.py because it is used by the whole system
  * adds more information to the context object
  * passes the context through rpc
  * adds a helper method for promoting to admin context (elevate())
  * modifies most checks to use context.project_id instead of context.project.id to avoid
    trips to the database

This included a lot of merge fixing and backporting from the anso deploy branch so some stuff may be broken. Right now it throws an Exception('die') in addition to the deprecation warning so we get a stack trace and can find any other deprecated calls. This needs some testing, especially of the openstack api.

351. By Jay Pipes

Fixes LP Bug#660095.

350. By Vish Ishaya

Fixes a few concurrency issues with creating volumes and instances. Most importantly it adds retries to a number of the volume shell commands and it adds a unique constraint on export_devices and a safe create so that there aren't multiple copies of export devices in the database.

349. By Michael Gundlach

Fixes bug 660115.

Part of the cause of the confusion that led to this problem is I think that we have 3 different 'user' objects that can be passed to different methods: a simple dict, an auth.User object, and a db.sqlalchemy.models.User object (which maps __getitem__ to getattr for good measure.) When we sweep through and add clear docstrings to every method, explaining their inputs and outputs, I think errors like these will be less likely.

348. By Soren Hansen

Xen support.

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