Fix instance obj refresh()

The refresh() method pulls a fresh copy of the instance but if any
fields changed when doing so, they are left marked as changes that
are not yet committed.

Also clarified the doc string for obj_what_changed() to state that a set
is returned, not a list.

This method is not used yet, so I didn't file a bug for this.

Change-Id: I83fbce07936fea2bc936441c5c6594f65da443a7
Imported Translations from Transifex

Change-Id: Iba2363891c83dda503518169617183930357ec80
Merge "Add missing tests for nova.db.api.instance_metadata_*"
Merge "Fix overzealous conductor test for vol_usage_update"
Merge "Fix instance obj refresh()"
Merge "Imported Translations from Transifex"
Make NovaObject support extra attributes in items()

An object could define a field as a property, which needs to get
included in items() and iteritems() for dict compatibility.

Related to blueprint unified-object-model

Change-Id: I2ca665e70fc6d3c9664ae7a74dffd99a56f6a8c1
Raise max header size to accommodate large tokens.

The max header is exceeded in the following scenario
- Auth tokens built with a keystone v3 API catalog
- A catalog with approximately 8 or more endpoints defined

Specifically, when heat is enabled in tempest gating, the following
tests are failing:
- tempest.api.compute.test_auth_token.AuthTokenTestJSON.test_v3_token
- tempest.api.compute.test_auth_token.AuthTokenTestXML.test_v3_token

An equivalent fix will be required for all projects which use
eventlet.wsgi.

Fixes bug: #1190149

Change-Id: Ia0a2a48461593fdc0f5be57bcc9f364c3e3f8b66
Merge "Add unique constraints to Cell."
Merge "Remove bin lookup in conf sample generator"
Merge "Make NovaObject support extra attributes in items()"
Merge "Allow confirm_resize if instance is in 'deleting' status"
Remove _is_precooked pre-cells Zones hacks

pre-Cells Zones used to talk to child zones via the API and thus things
didn't need to be re-serialized for API responses.  The hacks for this
were left around and should be removed.

Fixes bug 1192006

Change-Id: I0b0c7fcad49412659d97037fc3cc8594b46668f1
Add err_msg param to baremetal_deploy_helper.

Updates the baremetal-deploy-helper so that we look for an
option 'e' POST parameter which contains an optional error
message string from the agent.

This works with the associated DIB branch here:
  http://review.openstack.org/#/c/33341/

And is also fully backwards compatible with existing agent scripts
which do not send the 'e' parameter.

Change-Id: I9a5914e719c2db6d2ae6d002cd386a0e48fda18d
Add missing tests for nova.db.api.instance_system_metadata_*

blueprint db-api-tests

Change-Id: I2a7b24d3b7b0fa7af004a8106dfef29178a9aaa3
Merge "Remove _is_precooked pre-cells Zones hacks"
Merge "Add rpc client side version control."
Merge "Remove trivial cases of unused variables (1)"
Merge "Add tests for nova.db.api.security_group_rule_* methods."
Check the instance ID before creating it

At least with libvirt 1.x instance goes into shutdown state
before its ID is changed. This means that there's a race
condition during reboot where nova might try to create an
instance that's already defined. By checking if the ID of
the new and old instance is the same, we avoid that situation
and reiterate on the loop.

The tests for this are added in
I6215f80bd15820dac80151e7063916dbbc21d761

Change-Id: I493b828f0c6848fbadc591be2f47fd1b12fd3a51
Fixes: bug 1181924