tests: remove misleading docstrings on libvirt tests

These docstrings take precedence over the method name,
to identify the test in the results.  So just remove
these misleading docstrings as they don't give extra
info over the method name itself.

Change-Id: I4c415f8c4be588f5de751ab8e4d21e85a18f6b75
refactor all uses of the `qemu-img info` command

* nova/virt/images.py: Define a single function that
calls `qemu-img info` in a robust manner, by avoiding
locale issues etc.
* nova/virt/libvirt/utils.py: Define secondary functions
to parse items returned from images.qemu_img_info().
* nova/virt/libvirt/driver.py: Use the libvirt.utils functions.
* nova/virt/disk/api.py: Likewise.
* nova/tests/test_libvirt.py: Remove no longer needed stub
for utils.execute('qemu-img info'). Adjust to a more restrictive
`qemu-img info` format, and more robust calling signature.
* nova/tests/test_imagebackend.py: Adjust to moved method.

Change-Id: I739dd246410c215f401ebd3a92b8207f46e8fb9a
Xen: Validate VHD footer timestamps.

This is a sanity check to ensure the footer timestamps on a VHD are
reasonable (e.g. not in the future). This condition can occur if the
local time for the source and destination machines in a migration are
not in agreement, requiring an adjustment to /etc/localtime and/or NTP
reconfiguration.

Without this check there is a risk of importing a corrupt VHD into the
SR causing the entire SR to become corrupted.

Change-Id: I17228e50d6f54632f3bfc32a682e511f876517ec
Xen: Add race-condition troubleshooting script.

This stress-test runs builds and migrations concurrently making it
easier to uncovers certain types of race-conditions in the virt-layer
code.

Change-Id: I89c382b85aa6d0eb3dc957803f3ea34e3a36e9d4
Don't log debug auth token when using cinder.

Updates a log messages in the Nova cinderclient function so
it doesn't log the auth token from the request context.

Also properly localizes the log message.

Fixes LP Bug #1029049.

Change-Id: I89120f0e9b7a33c00b9b4b629d61d44d0e9b518f
Fix docstring for SecurityGroupHandlerBase

Change-Id: I645a03cd1a80dc34a7b5a2e91072604e5156d51d
Add support for snapshots and volume types to netapp driver.

This is a continuation of blueprint netapp-volume-driver.

Change-Id: Ic79a98f3949c815f532e52a9b9d45ad7d8aa99ec
Shrink Simple Scheduler

* The same functionality exists in the filter scheduler, except for
  nova volumes. So just keep nova-volume scheduling here.
* Add very basic Simple Scheduler testing
* Simple Scheduler will be completely removed after Folsom release

Change-Id: Ia2a2b26bc67cf152963533d68a774f454d763cbd
Remove unused scheduler functions

* get_service_capabilities
* get_host_list
* host_service_caps_stale
* delete_expired_host_services

The functions were introduced in d328ddcadb24d1b1961bd05a7676bc8f54b6776f
but are currently unused outside of nova.tests

Change-Id: I15388db5eb684a9f5cfe74f4c2a32b6c87f57894
Send a full instance via rpc for check_can_live_migrate_destination.

Change the check_can_live_migrate_destination method of the compute
rpc API to take a full instance over rpc instead of just the instance
UUID.  This cuts down on database access needed by nova-compute.

Part of blueprint no-db-messaging.

Change-Id: I98a403fc4af7c3660c5144e532a318151c6c3b54
Send a full instance via rpc for check_can_live_migrate_source.

Change the check_can_live_migrate_source method of the compute
rpc API to take a full instance over rpc instead of just the instance
UUID.  This cuts down on database access needed by nova-compute.

Part of blueprint no-db-messaging.

Change-Id: Ifc655fb86c94adc9a64e878a89a77342313cace2
Send a full instance via rpc for confirm_resize.

Change the confirm_resize method of the compute rpc API to take
a full instance over rpc instead of just the instance UUID.
This cuts down on database access needed by nova-compute.

Part of blueprint no-db-messaging.

Change-Id: I58313564b240c6b55de1849efc2d5d9031a1c97c
Remove unused methods from compute rpcapi.

Remove some deprecated methods from the compute rpcapi.  These methods
remain in the compute manager code, but there is no need to have them
here in the client side code since they aren't used and we don't want
any new code trying to use them.

Change-Id: I0ae2cd3f25339d91fbd27f8a157b3f95e2acbc6f
Send a full instance via rpc for detach_volume.

Change the detach_volume method of the compute rpc API to take
a full instance over rpc instead of just the instance UUID.
This cuts down on database access needed by nova-compute.

Part of blueprint no-db-messaging.

Change-Id: Ibc5e4f16c393bf97fcc4fe9b76e6b435eb99de87
Merge "Add support for snapshots and volume types to netapp driver."
Merge "Update decorators in compute manager."
Fix typo of localhost's IP.

Fix for bug 1029206.

Change-Id: I61550f22a063ada0dfc654f8f653dcf52637f191
Merge "Fix docstring for SecurityGroupHandlerBase"
Merge "Remove unused scheduler functions"
Merge changes I85ad29e8,I21d91e6c,I114081fc,If881fb41,Ia7e31428,I15ceb762,Id2c455f6,I45914ed5

* changes:
  Send a full instance via rpc for attach_volume.
  Send a full instance via rpc for add_fixed_ip_to_instance.
  Send a full instance via rpc for get_console_output.
  Send a full instance via rpc for suspend_instance.
  Send a full instance via rpc for (un)pause_instance.
  Don't use rpc to lock/unlock an instance.
  Convert reboot_instance to take a full instance.
  Include name in a primitive Instance.