Remove havana compat from nova.consoleauth.rpcapi

Since we only support upgrading from N-1 to N, there's no need to keep
around this older upgrade related code.

Change-Id: I253db2fe161add62cb248665c7920126f0d7455f
Use Instance.get_flavor() in more places

This helper was introduced a while back, but not everything is using it.
In order to make the transition in the next patch easier, this cleans
up those cases to use the helper. Unfortunately, there was a lot of
cruft in the tests where non-objects were being passed to these areas,
so this change looks larger than it really is.

Related to blueprint flavor-from-sysmeta-to-blob

Change-Id: I456fd94e21c71f10dff63997046a842345078071
Refactor more compute tests to use Instance objects

Change-Id: If501760085a2110fedb8bd5e2fd863af25bc6f8e
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ieb4c87f942db10ebe27665b499ba1c020adba32c
Add support for fitting instance NUMA nodes onto a host

This commit adds the methods needed to enable fitting instances onto
NUMA nodes. It adds fit_instance_to_host() method to the
VirtNUMAHostTopology class that will do the fitting returning the
instance topology with it's cells assigned to the cells of a given host.

This method will be used in the scheduler and claims and will obsolete
the need for claim_test method which will be removed in subsequent
commits.

It is worth noting that after we transition filter and claims to use the
methods added to this patch - it will no longer be possible for an
NUMA-aware instance to be over-committed against itself no matter what the
over-subscription ratios are.

Change-Id: I5fb6814778c2790cdd8892f756a33763b8f4a712
Partial-bug: #1386236
objects: Makes sure Instance._save methods are called

This patch makes sure that _save hooks are called for Instance object's
related objects even when they are set to None (if they are at all
nullable)

We will need this for numa_topology, as we need to be able to update it
on save, and make sure it's gone if the new one is None.

Change-Id: Ied9e760b40446661a6269e41df6091aa16fbfc82
Move test_hostops into nova/tests/unit

After rebasing patch 127279 one test file, test_hostops,
was left behind in tests/virt/hyperv. This patch simply moves
that file to the proper place.

Change-Id: I5a5a56f0b195f8b290986d86cc47b292e610348f
Compute: improve usage of Xen driver support

Commit 69564763960cddc249138469811a0a771db16e19 added a check,
which was called twice, in get_next_device_name.

This is called once now.

Change-Id: I45c918bc64ed8049179fc01a7cd3ad81e4682fe1
Compute: improve test_compute_utils time

Make use test.NoDBTestCase instead of test.TestCase. This improves
the test times.

The tests that have been update do not use the DB.

Change-Id: I2a39f635552175117609dbbe6b328ead166345ea
Merge "Imported Translations from Transifex"
Merge "Use Instance.get_flavor() in more places"
Merge "Add support for fitting instance NUMA nodes onto a host"
Merge "objects: Makes sure Instance._save methods are called"
Merge "Refactor more compute tests to use Instance objects"
Merge "Compute: improve usage of Xen driver support"
Merge "Remove havana compat from nova.consoleauth.rpcapi"
Merge "Compute: improve test_compute_utils time"