lp:~soren/nova/get-console-log-fixes
- Get this branch:
- bzr branch lp:~soren/nova/get-console-log-fixes
Branch merges
- Devin Carlen (community): Approve
- Eric Day (community): Approve
-
Diff: 23 lines (+4/-5)1 file modifiednova/virt/libvirt_conn.py (+4/-5)
Related bugs
Bug #653852: permissions issue with console.log in libvirt | Medium | Fix Released | |
Bug #658257: get_console_output fails | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 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.
- 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 databaseThis 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.
- 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.
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