Remove multipath mapping device descriptor

When detaching a volume from a instance, we need to remove
multipath mapping device descriptor if there are other volumes
mapping to the host instead of do nothing, for some cinder drivers
can not terminate connection for multipath tool sending IOs to
storage array periodically.

Closes-bug: #1223975
Change-Id: I6fc02e045146ece49162ca6be1a83fa8d0214a0a
Remove useless variable from libvirt/driver.py

There are some variables in libvirt/driver.py were never used, so
we can just remove them.

Change-Id: Ie29bfbeef8c185697aa94a6e05e67a70436302c8
Use _get_server_admin_password()

There is _get_server_admin_password() for getting an admin password
in ServersController class. This patch makes some methods use it for
code clean-up.

Change-Id: Iff9d960126e1c09d928d72b572838e6f16cc4f33
Add auth_token settings to nova.conf.sample.

Updates our example config file so that it includes configuration
settings for the auth_token middleware.

Includes the latest generate_sample.sh from Oslo.

Related-Bug: #1240753

Change-Id: I393a67f1f005e775928130c9241aa7e25c391ae3
xenapi: converting XenAPIVolumeTestCase to NoDB

* Uses NoDB base class for speedup
* Removes dead/unecessary code

Change-Id: I0aa8c0886801c2e0b331d0655170a48f37a874d5
Fix `NoopQuotaDriver.get_(project|user)_quotas` format

The quota API extension expects `get_project_quotas` and `get_user_quotas` to
return a dictionary where the value is another dictionary with a `limit` key.

The `DbQuotaDriver` adhered to this spec, but the `NoopQuotaDriver` didn't.

This fixes the `NoopQuotaDriver` to return the results in the correct format.

Fixes bug 1244842

Change-Id: Iea274dab1c3f10c3cb0a2815f431e15b4d4934b1
compute tests: replace assertEquals with assertEqual

assertEquals will be deprecated in Python 3.

This is part of blueprint assertequal

Change-Id: Id639655621be04383fac986e8a0dc50a0951b64b
Merge "xenapi: converting XenAPIVolumeTestCase to NoDB"
Merge "compute tests: replace assertEquals with assertEqual"
Merge "Remove multipath mapping device descriptor"
Merge "Fix `NoopQuotaDriver.get_(project|user)_quotas` format"
Merge "Add auth_token settings to nova.conf.sample."
Merge "Remove useless variable from libvirt/driver.py"
Merge "Use _get_server_admin_password()"