Migrate a notifier patch from common:

commit c767e9beffe4b826eac869ce7e2eef2cc1499bbe
Author: Andrew Bogott <abogott@wikimedia.org>
Date: Thu Jul 19 03:34:31 2012 -0500

Add multiple-driver support to the notifier api.

Move all of the functionality previously provided by the list_notifier
into the basic notifier api. Move and restructure tests accordingly.

Remove the list_notifier file and test file.

For bug 1025820

Change-Id: Icadaafe8bc312942249272873d9a4a8f1aa49a94
Added updated locations for iscsiadm

Attaching volumes to instances currently result in a
traceback running on 12.10.

This is due to the change of location from /sbin to
/usr/bin for iscsiadm.

Fixes LP: #1033960

Change-Id: Ie8c6214efbac72b2715264a7d9dd7fe5e43ef693
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Fix invalid exception format strings

Some exception formation strings were missing the conversion type

Change-Id: I99fda0a49acce8c5c1f1b9a09bcaff24140aaf44
xenapi: wait for agent resetnetwork response

Unlike every other agent command, the resetnetwork command would not
wait for a response. All failures were silently ignored. Change this
to at least log a message if an error occurs.

Change-Id: I40e323607b2ce50869f3bf11e4582ff83cbed1c0
xenapi: reduce polling interval for agent

Communicating with the agent requires polling for a response. The
operation uses xenstore, which is lightweight, yet the interval
in between polls was 3 seconds. This would cause longer than necessary
sleeps when an instance was booting making the overall boot slower.

Change-Id: I560c05887128f1a0e29228e859cca25ded4eceec
Make libvirt_use_virtio_for_bridges flag works for all drivers.

Both LibvirtOpenVswitchDriver and QuantumLinuxBridgeVIFDriver
can use virtio driver when flag libvirt_use_virtio_for_bridges
is set.

fix bug lp:1034216

Change-Id: I5675f14845bf059651f45cfb06ae496d413fa69b
Fix a bug on db.instance_get_by_uuid in compute/manager.py

The parameter for db.instance_get_by_uuid() is instance_uuid instead of instance.
Correct it in the code.

Change-Id: Ibc4d8352c101dc3be11a765646d4ef701e330b50
Signed-off-by: Shane Wang <shane.wang@intel.com>
Merge "Fix a bug on db.instance_get_by_uuid in compute/manager.py"
Merge "xenapi: wait for agent resetnetwork response"
Fix a bug on remove_volume_connection in compute/manager.py

The function remove_volume_connection() has been changed.
Fix up the code to call the correct interface.

Change-Id: Ib0aa864d9efabb1102193a36ec05c3a1673091b5
Signed-off-by: Shane Wang <shane.wang@intel.com>
Merge "Fix a bug on remove_volume_connection in compute/manager.py"
Merge "Make libvirt_use_virtio_for_bridges flag works for all drivers."
Merge "Migrate a notifier patch from common:"
Merge "Added updated locations for iscsiadm"
Add a 50 char git title limit test to hacking.

* add N802 to hacking.py

Change-Id: I8262531b4b3f8f3a1a2a37679904cf4864cae7b6
scheduler prep_resize should not update instance['host']

This is done by the manager once things are ready on the destination
compute node.

Fixes bug 1034593

Also removes now-unneeded update_db argument passed via rpcapi and bumps
scheduler rpcapi version for prep_resize to 1.4

Change-Id: I0ac3be39877f3afcf42f5996d0da90042fe7c6e3
Merge "xenapi: reduce polling interval for agent"
Merge "Add a 50 char git title limit test to hacking."