Remove admin context which is not needed.

_get_guest_config use admin context to read deleted flavor, it's
not needed because flavor function in db layer didn't require that.

Change-Id: Idbf6a7d712d432da5a5919c28e988870ead0d4b2
maint:Don't translate debug level logs

Our translation policy
(https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation) calls
for not translating debug level logs. This helps to prioritize log
translation.
There were some commits that fixed it but ignored the the style like
msg = _('this is debug info'); LOG.debug(msg)
This commit fixes this style of LOG.debug.

Change-Id: I2cc3fe563456ba0906f74262ab1ba6967301d6d1
Truncate encoded instance message to 255

In nova/compute/utils.py function exception_to_dict truncates unicode
message to 255. However, in non-English locales, instance message may
be longer than 255 after encoding the unicode message to byte message.
Need to truncate the encoded byte message to 255, in order to ensure
db insert operation succeed.

Change-Id: I70cd2d6e4590ea95510c1ea3d51287f0dea14956
Closes-Bug: 1389102
Remove unused db.api.flavor_extra_specs_get_item

Change-Id: I5fc89d35820ffc5a77e2152ba1bfa3b82474be89
Merge "maint:Don't translate debug level logs"
Merge "Remove unused db.api.flavor_extra_specs_get_item"
Fix usage of BandwidthUsage.create()

The _poll_bandwidth_usage periodic task was attempting to use
BandwidthUsage as a classmethod even though it is not defined as a
classmethod.  It has been updated to be used properly and a test was
added to ensure there is no error.

Change-Id: I96709675a952857da5121da29acd1ab2e6726fd0
Closes-Bug: #1392423
Add update_cells to BandwidthUsage.create()

The switch from conductor_api.bw_update_usage to BandwidthUsage.create
caused a regression in reporting this information up to parent cells.
This adds the argument, and functionality, back in.

Change-Id: I495f9b5ed1845ad78c2d5da5b5f90b40a20c3ab3
Closes-Bug: #1392426
Merge "Fix usage of BandwidthUsage.create()"
Merge "Add update_cells to BandwidthUsage.create()"
Merge "Truncate encoded instance message to 255"
Merge "Remove admin context which is not needed."