send the good binding to neutron after live-migration

Nova was sending the host that previously hosted the vm

Closes-Bug: #1224960

Change-Id: If4677c0d1e11a8cf16f9d49e9ca854ca2fcfb698
Force textmode consoles on baremetal

Physical hardware often has console interception hardware for OOB
monitoring/management. Prevent the kernel from switching into a
graphical console mode so the hardware can do its job.

Change-Id: I3a5b17ab194238ada34fee1c834de22fbdcd7430
Related-Bug: #1178112
Change service id to compute for compute/api.py

Now the default service id for nova api notification is aggregate,
this is not accurate, we should change it to compute.

Fix bug 1225579

Change-Id: Ife558024c57d9fd035cd1a618063c656e03c52a3
Remove unused _instance_update() method in compute api

The _instance_update() method was previously used in lock/unlock
but that changed when they were converted to use instance objects.

Change-Id: I1f1e00b31792fd13a5b72a15c0cb11cfde75f794
Correct deleted_at value in notification messages

The deleted_at value in notification messages is currently
set from the terminated_at value in the instance record.

A comment in the code says this is to avoid confusion between
terminated_at and deleted_at,  but swapping the names doesn't
seem to be a great way to address that.

In practice "terminated and not deleted" is a transient state
unless an error occurs, and the time gap is very short.  But
deleted_at is always set when the entry is deleted in the DB,
whereas terminated_at can be left unset in some error cases.

Rather than present terminated_at as the deleted_at value in
the message we include both and let the recipient decide which
they want to use.

Fixes bug: 1227080

Change-Id: Ic67f66b6c64be1a8f43f4fdd5b1fac25f1414247
Update sample config generator script

This patch reverts 13d80020. The help message should be added
in oslo-incubator since generate_sample.sh is synced from there also.

Resolves bug #1204204

9f2b93b Sample config file generator clean up
33f9f78 Replaces relative path to absolute path in conf file generator
c97e17b Refactors if statement in config generator
8b11fda Provide useful defaults for config generator
4c02e0a Unset OS_xx variable before generate configuration

Change-Id: I96fcb39c0c620c147fea5c96416e506a758619ce
v3 API samples for servers

Adds the rest of API samples for the core servers plugin. This is separate
from the other servers api samples because the output is potentially
dependent on all the other extensions and I'm expecting lots of merge
issues.

Partially implements blueprint v3-api-specification
Partially implements blueprint v3-api-unittests

Change-Id: Iffc814f327b0047c3510bfe5b8bbcb9e0e4540db
VMware: enable VNC access without user having to enter password

When the vnc_password was not configured in the 'vmware' section
the user was unable to access the VNC console. The user would be
requested to enter a password but all attempts would fail.

The 'vnc_password' was added as a workaround to the problem above.

The fix ensures that the VMware driver behaves like all of the other
virt drivers when it comes to the VNC access, that is, the user will
not have to enter a password.

The password support will be deprecated and removed in the next
version.

Fixes bug: 1215352

Change-Id: I728861b8965ee3d3b8444a0440ddd0a8e5bb9021
Require oslo.config 1.2.0 final

Now that 1.2.0 has been released, require it rather than one of the beta
release tarballs.

Closes-Bug: #1182861
Change-Id: I75ffc4a572d14488d19491a38742d6920951c171
Add V3 API samples for security-groups

Partially implements blueprint v3-api-unittests

Change-Id: I6df70127a88881320052613f4c107e2287f375c1
VMware: fix bug for incorrect cluster access

For a number of methods only the first cluster would be accessed
and not the correct cluster.

Fixes bug: 1226211

Change-Id: I4eb3c360fc81de172e46418d5a16dd2bd7077fea
Remove _get_compute_info from filter_scheduler.py

After patch I6de33ada6dc377e20f8df07da92244f2c150b9fe and
Ie6f104368140b69a60e124ea96ef6bf7715fe34e, in filter_scheduler.py,
_get_compute_info has no use and no one is calling it, so we
can remove it directly.

Fix bug 1228475

Change-Id: Ia85068e402b6f0b2a9ed2a809d1c1dc63e0f3041
Fixes assertion bug in test_cells_weights.py

An assertTrue was used where an assertIn is needed.

Fixes bug #1230109

Change-Id: Id75478b958ca8b9bc030563cfdef27a89e86b881
Ensure we don't end up with invalid exceptions again

We've recently had a few (three?) exceptions where the messages
didn't work because there was a typo in the exception variable
name. This change adds a very simple unit test which ensures that
we don't end up in that state again.

Change-Id: I00423b4ce82428959e7591d5c5c47c1f25ec3029
Merge "Correct deleted_at value in notification messages"
Log object lazy-loads

This is a trivial change that will be extremely helpful in tracking
down spurious lazy-loads and performance issues in the field. Simply
log to DEBUG any time we do a lazy-load of something. In practice,
this should be relatively rare.

Change-Id: I5e7bc058ba5ad17536a361367a0def5c4953643e
Merge "send the good binding to neutron after live-migration"
fix typo & grammer in comment 363-364

Change-Id: Ic2f403007ac55d806bd6206859b5a796dc126fea
Merge "v3 API samples for servers"
Merge "Remove unused _instance_update() method in compute api"