Merge "Update pre_live_migration to take instance object"
Merge "Enable flake8 H404 checking"
Sync latest config file generator from oslo-incubator

The fix to the config file generator to support lazy messages
is the main addition of interest because it is needed before
lazy messages can be enabled in Nova.

Commits included:

  1a6dfb956 Sanitize FQDN in config generator
  e839886cc Config generator fails with lazy messages
  763eedff6 Fix DictOpt support in config sample generator

Note that these commits do not touch any other files (beyond
oslo testcases).

Partially implements blueprint i18n-messages
Closes-Bug: #1280826

Change-Id: I2174139ba3767d05924747cbefa377ba8780103d
Make baremetal driver use Flavor object instead of VirtAPI

This makes the baremetal driver use the Flavor object instead of
getting that information through the VirtAPI/conductor call.

Related to blueprint compute-manager-objects

Change-Id: I1cbc3fc77bbbcaa3c194f12814893c5937fb6e96
Make compute manager use Flavor object

This makes compute manager use the Flavor objects instead of a
raw conductor API to get information about flavors during resize.

Related to blueprint compute-manager-objects

Change-Id: Ieb56b754eb5a4824fc69093897bdff25ab020883
Make resource_tracker use Flavor object

This makes the resource_tracker use the Flavor object for getting
information about an instance's flavor instead of a raw call to
conductor.

Related to blueprint compute-manager-objects

Change-Id: Ida93eeed9b8f8f5da267cff6a6b38f6661479b36
xenapi: stop destroy_vdi errors masking real error

We frequently call destroy_vdi in an exception block where we plan to
re-raise the exception.

Should an error occur while destroying the vdi this hides the real error
that caused the problem. To stop this, I have moved those calls to
safe_destroy_vdis and added unit tests to ensure the error from
destroy_vdi does not mask the real issue.

Closes-Bug: #1246276
Change-Id: Ib02f93ab1086f077d3d00e5ca915a26f90552c85
Merge "Guard against oversize flavor rxtx_factor float"
Merge "Cleanup v3 test_versions"
libvirt: raises exception when attempt to resize disk down

Raises an exception when trying to resize an instance that needs to
resize the disk down.

Change-Id: Ic0a0bede744a1aacd057c5db9de3307b61c525b4
Related-Bug: #1270238
Merge "Remove db query from deallocate_fixed_ip"
Merge "Fix comment typo in nova/compute/api.py"
Merge "Add support for tenant_id based authentication with Neutron"
xenapi: changes the debug log formatting

This patch changes the log formatting to use multiple arguments instead
of interpolation.

Note:
It's a matter of performance :
When you do the interpolation in your code, this code will be executed
each time you call the logger (event if the logger or the log level is
not activated).
When you let the logger do the interpolation, it will do the interpolation
only if the logger and log level is activated.

Change-Id: I628000767f41bb0ab1839089a0ba98f6974c4635
Merge "Remove broken quota-classes API"
Support IPv6 when booting instances

When nova uses neutron, IPv6 addresses may be allocated.  This ensures
those addresses are supported.

Change-Id: Ic904f3a7811b07264128bc62067cdf0bca9efac9
Closes-bug: #1267685
Adds unit test for etc/nova/policy.json data

* Test live etc/nova/policy.json data
* Convert all actions in policy.json to admin-only actions
* Check that Policy auth exception is raised when all above actions are
  called using non-admin context

Change-Id: I1b97987f8e9e3bacc606385a56daad189cf6ce19
Closes-Bug: #1262325
Merge "Fix cache lock for image not consistent"
Merge "Refactoring metadata/base"
Make error notifications more consistent.

The error notifications sent by wrap_exception are a good source of
information when tracking down errors in the system. It is easy to spot
patterns in the errors by looking at similarities in the exceptions
raised.

This change looks at making the in-line error notifications
follow the same format, so they become equally useful.

Closes-Bug: #1251602
Change-Id: I1cd64a90ecefc64d12af05487eb6e45aa0362d69