Fix double reboot issue during soft reboot

Using the ID of domain in Libvirt to recognize the hard reboot has been
implemented or not, if the ID changed, we believe the domain has been rebooted,
return True and break from soft reboot.

Fixes: bug #1046356

Change-Id: Iec2f9e8225cfe2779f84d2095667f3c0e621e935
Fix double reboot during resume_state_on_host_boot

Re-basing my commit introduced a mistake I did not catch before the
merge occurred.  resume_state_on_host_boot is calling both
_create_domain_and_network followed by _hard_reboot. It should only
call _hard_reboot.

Change-Id: I52be2c0d0c85abe6386842c980f26b3c5713e3e3
VMware Compute Driver Volume Management

blueprint vmware-compute-driver

Attach and Detach iSCSI volume
Get volume connector

Change-Id: I25e0c79ffb0b762726fb931233f7beeb53092a34
Clearer debug when test_terminate_sigterm fails.

Change-Id: I284583fa8a250cc08c571251fbcce5da57db9f13
Make failures in the periodic tests more detailed.

The current tests are very opaque when something fails. This change makes the
failure easier to understand without a debugger. The testtools version is
bumped to get a new HasLength matcher.

Change-Id: Iceafa70f88a8cc31a1b0ba912fe32a9fef1b2f18
Fix hacking N302 import only modules

* Includes some general tools/hacking cleanup
* Fix several N302 cases
* Disable N302 until all cases are fixed

Change-Id: Iddba07ff13e10dc41a6930749044bb8c0572d279
Merge "Clearer debug when test_terminate_sigterm fails."
Merge "Make failures in the periodic tests more detailed."
Refactored run_command for better naming

This distinguishes this difference between
running commands on the local compute node and
the remote system, the VIOS.

bp powervm-compute-resize-migration

Change-Id: I57967e291f52d2745cd7d6d53553e37d9de07a6b
Merge "Fix double reboot during resume_state_on_host_boot"
Merge "Fix hacking N302 import only modules"
Increase maximum URI size for EC2 API to 16k

The EC2 API supports both HTTP GET and POST agnostically.  It also supports
user-data of 16k -- meaning that client tools could generate 16k URIs.
The WSGI default limit is 8k; this raises it.

Fixes bug 1098646.

Change-Id: Idec460d88b2affab970c9d9f39fa61295db035c5
Support optional 4 arg for nova-dhcpbridge

dnsmasq will call the add, old, and del actions with an optional
4 argument of hostname if the hostname is known. Since we populate
the hostname in the DHCP host file its always passed to us.

Add an optional 4 argument for hostname for the add, old, and del
actions.

Change-Id: I1a6c095324be2424d6c1d469877b254f88fba4aa
Fixes: bug #1103783
Merge "Increase maximum URI size for EC2 API to 16k"
Merge "Support optional 4 arg for nova-dhcpbridge"
Merge "Refactored run_command for better naming"
Merge "VMware Compute Driver Volume Management"
Merge "Fix double reboot issue during soft reboot"