update mailmap to add my perferred mail.

Change-Id: I5b0a92683b73e0bd4219f8faa9849ea71b8a3c8a
Fix positional arg swallow decorator

The update() method in the hosts extension is decorated with @check_host
but the function returned by decorator takes a kwarg which shadows the
'body' positional arg of the update() method.

i.e. if you call:

  controller.update(req, id, body)

then the body arg gets passed to the wrapper as its service kwarg and
never passed through to update(). We can see how the tests are all
passing body as a kwarg to avoid this.

Remove the service arg from check_host() but also from _list_hosts()
since the only place it is used is in the tests.

Change-Id: I12aab582c15c25fd35ecda005341291450c7efdc
Avoid vm instance shutdown when power state is NOSTATE

Occasionally when nova uses libvirt lib to query hypervisor
xen the instance state of vm_power_state may end up
with a NOSTATE value. Existing code shuts down the instance
when we hit this state. Remove the check for NOSTATE
to avoid shutting down the instance.

Fixes LP #1085771.

Change-Id: I0025f6800b6ca9cd3d7c7e6119b9a819571bd13c
Update tools/flakes to work with pydoc

Change-Id: Ib141553017aa88d6edb65b5d51c06740699a2480
Order instance faults by created_at and id.

It is possible that instance faults have the same created_at values so
ordering on that field alone is not deterministic. Add an additional
order by clause to order descending on id as well.

I am not sure if the order by exists to make tests pass; however,
without the additional "id" the tests do occasionally fail. See
http://logs.openstack.org/15078/18/check/gate-nova-python26/10709/console.html
for an example failure. If order does not actually matter we may want to
make the test smarter instead.

Part of blueprint grizzly-testtools

Change-Id: I1c7a07669846c832270631c1734dae509dba7586
Reset node to source in finish_revert_resize()

bug 1087760

Change-Id: I8c50543de1efc48b9dde0dc045fcd52bc89b727b
Merge "Reset node to source in finish_revert_resize()"
Use conductor for migration_get()

This patch removes direct database accesses for looking up
migrations by id, and instead queries conductor.

Related to blueprint no-db-compute

Change-Id: Ia7df121971b14b1eb4ce65063246968b3603309d
Prevent creation of extraneous resource trackers.

Defensive logic to stop creation of extraneous resource trackers.

Change-Id: I8d190990c4020eff85584cdb39d4b91104b7450e
Fix network manager ipv6 tests.

When using a test runner that runs tests in a different order than
nosetests it is possible that IPv6AccountIdentiferTestCase tests run
before CommonNetworkTestCase. If this happens
IPv6AccountIdentiferTestCase sets the ipv6_backend to account_identifier
which causes the regexes in
CommonNetworkTestCase.test_get_instance_uuids_by_ipv6_regex to not
match.

Explicitly set the ipv6_backend to rfc2462 in CommonNetworkTestCase's
setUp() to ensure the regex's match the addresses in the fake network
DB.

Part of blueprint grizzly-testtools

Change-Id: I0fdb5c3d4130c6cf23b22bca6645581f603a79c5
Merge "Prevent creation of extraneous resource trackers."
Run test objectstore server on arbitrary free port

When tests are run under a test runner that runs tests concurrently
(like testr) failures can occur when two test processes attempt to
listen on the same port. Set the test objectstore server to use an
arbitrary free port when testing to avoid this problem.

Part of blueprint grizzly-testtools

Change-Id: I7c5e06b10b03bf042fb86235a562ffae4762b8f1
Make ignore_hosts and force_hosts work again

Fixes bug 1087807

A recent refactor of scheduling filters and weights broke the
ignore_hosts and force_hosts functionality.  The refactored code would
have only worked if a list of host names (strings) were passed in to
host_manager's get_filtered_hosts().  Unfortunately that's what the unit
tests tested, but the real caller (filter_scheduler) actually passes a
list of HostState class instances.

Unit tests are fixed to pass HostStates and the offending code in the
host_manager has been fixed.

Change-Id: I54a3385da7c095e8ddf26b7536d46a9ee4072a58
Imported Translations from Transifex

Change-Id: Ideb5eee7e660e21f1a30379832e6739ee517d939
Merge "Make ignore_hosts and force_hosts work again"
Merge "Fix network manager ipv6 tests."
Merge "Order instance faults by created_at and id."
Merge "Update tools/flakes to work with pydoc"
Merge "Avoid vm instance shutdown when power state is NOSTATE"
Merge "Fix positional arg swallow decorator"