Nova options tool enhancements

Fixes bug #936898

1. Just import the modules and only look at nova.flags.FLAGS
   when they're all imported

2. ConfigOpts is iterable, there should be no need to iterate
   the private FLAGS._opts dict

3. Output should be .ini style

4. The output should only contain comments
   i.e. each option default should be commented out

Change-Id: I15835bb437bc6d575e8311d7c55b3a29d67b006d
Fix nova-manage floating create docs.

Fix RST docs that describe nova-manage floating create syntax.

Change-Id: I743a750b55b2007cc756cfd3c1b34d07c479fb5a
Add missing directive to tox.ini.

Change-Id: Ib6d178af62f631de76e66c2bb6c07fd6b277fa97
Decode nova-manage args into unicode.

This improves handling of non-ASCII args... it's not
exactly a comprehensive solution, though.

Partial (demonstration) fix for bug 931667.

Change-Id: Icc2aabe9c0c521732003f7013438630ebc8d2238
Check all migrations have downgrade in test_misc

Fixes bug #942406

Change-Id: Ifbc74c12a4c58d4e2117295c088051062a0b3b1c
sm volume driver: fix backend adding failure

Fixes bug 915085

Change-Id: I908d2090815a90bae479d5caf8516e52fd879c8e
Fixes bug 943188

Enusre when an aggregate is re-created, it is in the created state,
not just the state it was when last created.

Change-Id: Ie8d63e3d334a872d52d81a9bd66730f08323d5c9
Test creating a server with metadata key too long.

Related to bug 917484.

This bug reported that the OpenStack API returned the wrong type of
error when creating an instance with a metadata key that was too long.
I added this unit test to try it out and it appears to work as expected,
so might as well just keep the test around.

Change-Id: Ie4bcf81741a268fd8319e1ecaad5639ad8c9b6f7
Adds soft-reboot support to libvirt

 * Falls back to hard reboot if guest doesn't respond
 * Cleans up reboot/rescue/unrescue interaction
 * Fixed fake for tests
 * Added a force hard reboot test to verify fallback works
 * Fixes bug 939557

Change-Id: I8d0c9a35725de5e5bfb8f13a2d869c6122ba44ef
fix for bug 821252.  Smarter default scheduler

compute_scheduler_driver = DistributedScheduler

Change-Id: I8123a120afd80c2b088a387eaab8f5a99a877fe0
Ensure image status filter matches glance format

* Fixes bug 943259

Change-Id: Id5172aa40be2f5a337b3e192b4bee8139c16c4d3
Remove unnecessary setting up and down of mox and stubout

test.TestCase already sets up self.mox and self.stubs as well as calling
self.mox.UnsetStubs(), self.stubs.UnsetAll(), self.stubs.SmartUnsetAll()
and self.mox.VerifyAll() during tearDown.

Change-Id: I74f0824ca1e8daa7b0ee7d7a62b226ba51206e6f
Refactor spawn to use UndoManager.

UndoManager provides a mechanism for automatically rolling back on
exceptions.  An additional benefit of this approach is that undo code is
spatially close to the roll-forward code.

This patch should be considered an intermediate step towards a more
complete Command pattern based approach down the road.

Change-Id: Ib429420d67324422a5d13cdea6872fd9c57c857e
update copyright, add version information to footer

Change-Id: Ic957de1d986f7df6193228aa0051bd93f75945ba
Fixes bug 942556 and bug 944105

Ensures the calls in the xenhost plugin work when the host is in
a xenserver pool managed by the host aggregates feature.

Change-Id: I51ca6b9f6d0e8d86d53afde5bf46cfabde17a44e
Merge "Remove unnecessary setting up and down of mox and stubout"
Call super class tearDown correctly

Change-Id: I39dcf337f57a59cab1ad69a649505b588bfda87b
Remove empty setUp/tearDown methods

Python will call into the parent classes implementation of setUp/tearDown
if there is no implementation in the child

Also, make sure all setUp implementations subclassed off test.TestClass
call the parent setUp so everything gets setup correctly

Change-Id: If410cd412d9557a0d3172ec96b592fbd3fd67ffd
Merge "Refactor spawn to use UndoManager."
Merge "Call super class tearDown correctly"