Merge "Reduce logging in scheduler"
Fix anti-affinity server-group boot failure

When the second instance is booted to an anti-affinity group
the scheduler fails with an exception due to a missing type conversion.

Closes-Bug: #1301982
Change-Id: I87b2a8d8c7d04b781c789374d6e9c7f4c8567e5d
Merge "Fix invalid facilities documented in rootwrap.conf"
Merge "VMware: remove unused code (_delete method in vmops.py)"
Merge "InvalidCPUInfo exception added to except block"
VMware: Fixes the instance resize problem

The fix includes separating out methods for
associating/disassociating a vsphere vm from the
openstack instance. Modifying the resize workflow
to use the above mentioned methods.

Closes-Bug: #1295381

Change-Id: I92acdd5cd00f739d504738413d3b63a2e17f2866
Merge "remove redundant copy of test_cache_base_dir_exists"
libvirt: remove_logical_volumes should remove each separately

Currently, remove_logical_volumes() is trying to remove
all of the provided volumes path in a single lvremove command,
while retrying it several times.
This is causing the command to fail, when the deleted volumes
are reappearing in the next iteration of the retry loop.

Handling the removal of each volume separately
and raising an exception for volumes which failed to be removed.
This will increase the chance for individual volume to be removed.

Closes-Bug: #1282423
Change-Id: Ib25f5603929c3038716661a589a41116b4c48909
Merge "VMware: Fixes the instance resize problem"
Remove redundant tests from Qcow2TestCase

Qcow2TestCase had exact copies of two tests in the parent
_ImageTestCase so remove them. I'm assuming the tests originated
in Qcow2TestCase but later more image types were added and the
tests were pulled up into the common parent mixin since they
applied to all types of images, but the redundant tests from
Qcow2TestCase weren't cleaned up.

Related-Bug: #1302211

Change-Id: I031516b555ead5a3769fb62d90e373aac1b6baf1
Merge "Catch InstanceNotFound exceptions for V2 API instance_actions"
Merge "Require admin context for interfaces on ext network"
Merge "Fix Jenkins translation jobs"
Revert "Use debug level logging during unit tests"

This change made the subunit_log 190 MB on every run (14MB
in the gz version). It also dramatically increases the
memory needed to run unit tests. We need to revert and
come at this problem with fresh eyes to address the problem
at hand without effectively overrunning people's environments.

This reverts commit f9090b0bd796f8c2fdf8d0a23173f3adee71b3df.

Change-Id: Ia1cfc3d874ddf4f8ee2037b487d22f968585854e
Merge "Remove PciDeviceList usage in pci manager"
Enable ServerGroup scheduler filters by default

The Icehouse release includes a server group REST API. For these
groups to actually function properly, the server group scheduler
filters must be enabled. So, these filters should be enabled by
default since the API is also enabled by default. If the API is not
used, the scheduler filters will be a no-op.

DocImpact
Change-Id: Ia52d7fcfff52377d8beae2acd9b7eba9c6c74e09
Closes-bug: #1303983
Update docs to reflect new default filters

Server group scheduler filters were added to the default set of
scheduler filters.  Update the docs to reflect the updated defaults.

Change-Id: I614cf83e419c93038fc4ed7287ec743cedb4860e
Related-bug: #1303983
Updated from global requirements

Change-Id: I580d7706618c05ef24e1cae0bb0f887968aca26c
Correct test boundary for libvirt_driver.get_info

The test_get_domain_info_with_more_return() unit test was causing
failure on some systems where lxml was not capable of handling None for
the xml to parse. However, our unit tests should not be testing libvirt;
the unit tests in libvirt already do that. Our unit tests should simply
test the code boundaries of the unit of code that they wish to stress,
and not anything further.

This patch changes the unit test in question to only test the code
within the libvirt_driver.LibvirtDriver.get_info() method, and nothing
more, and in doing so, we remove any calls at all to libvirt and mock
out where the code passes the boundaries of the get_info() method.

Change-Id: I022cc331a980c2a4d98f16d2d77b24839b528464
Closes-bug: #1301602
Merge "Reduce config access in scheduler"