Log if a quota_usages sync updates usage information

There's some periodic quota_usages syncing that can occur to help
correct any drift that may happen.  It would be useful to log when that
occurs as it may indicate an issue somewhere.

Change-Id: I5b90ab42059ae8ebd0c3890accafb98e70ed037e
Add Docstring to some scheduler/driver.py methods

Add/fix the Docstring of "handle_scheduler_error" and
"instance_update_db" methods

Fix bug 1233546

Change-Id: I133c569fc9496f6d727a72b6d8e4844774cd983d
Remove unused dict functions from utils

These aren't used any more.

Change-Id: Iffb4954691c288c2729171182fd5ee21f8613d2b
Reserve 10 migrations for backports

Reserve 10 migrations so that we have the option of backporting fixes
that include a db migration to the stable/havana branch.  We did this
same thing to allow backports to stable/grizzly in
b52a2157bedba693c5da7dcb783b7a151769d6b1.

The choice of 10 migrations is just a magic number.  We haven't used any
of the 10 reserved for stable/grizzly backports, so 10 seems to be
enough.

Implements blueprint backportable-db-migrations-icehouse

Change-Id: I2c5f2e5a966cfffa4a3e54e17fde07a52295f658
Merge "Reserve 10 migrations for backports"
Fix libvirt test on systems with real iSCSI devices

The test_libvirt_kvm_iser_volume_with_multipath_getmpdev() test
expects a system with no real iSCSI devices. It actually triggers
an os.walk() of /dev/disk/by-path/ip-*, which will return any
iSCSI devices on the system. Since the test expects none, this
will cause the test to fail.

This patch just stubs that out to return an empty list always.

Change-Id: Ibb3fd18207d013c35487a3eebb336b5f288b703a
Closes-bug: #1234834
Merge "Log if a quota_usages sync updates usage information"
Merge "Fix libvirt test on systems with real iSCSI devices"
Merge "Remove unused dict functions from utils"
Merge "Add Docstring to some scheduler/driver.py methods"
Replace assert_ with assertTrue

The method assert_ has been deprecated since python 2.7.
http://docs.python.org/2/library/unittest.html#deprecated-aliases

This patch is a mere sed replace of one-liner assert_ to assertTrue.

grep -lR "assert_(" nova/tests/* | \
xargs sed -ri 's/(\W+self.assert)_(\()(.+)(\)$)/\1True\2\3\4/'

Change-Id: I64b9764e1607a46877dad466a4be81e07bdf6f9a