Add troubleshoot to baremetal PXE template.

We recently added an optional troubleshoot parameter to
diskimage_builder which defaults to 0 (false).

This commit adds the option to the Nova pxe_config.template
so it will be easier for people to find should they need to
enable troubleshooting mode.
Change-Id: I169a5e3b7a9d80e18e389ae4645d2c5bbdae2a6f
Revert "fixes nova resize bug when force_config_drive is set."

This reverts commit 8ae97f24b0c806a438456170959ae527ce33ad01

This issue was already tracked and fixed in bug 1163598.
The user's packaged version was just lagging behind the released fix.

Change-Id: I9260ce7b00b0500b168f5a385696361b4f8e73fd
Update pyparsing to 1.5.7

The version of cliff we are using depends on pyparsing>=1.5.7 but
python-quantumclient pulls 1.5.6 because it appears first in the
requirements processing.

The requirements change is in
    https://review.openstack.org/#/c/33406/

Fixes bug #1191866

Change-Id: Ib1c11b53813ff96b750f5ffe4997ad01907d32c3
Standardize use of nova.db

We already mostly use:
from nova import db
instead of:
import nova.db.api

So change remaining few cases to use nova.db instead of nova.db.api.
Help make code more uniform and easy to work with.

Change-Id: I6183352c4bbe77b88a5b277788f588b0b48c6476
Port coverage API into v3 part2

This patch contains the changes required to adapt the hypervisor
extension and the corresponding unittest to the v3 framework.

And adding '_import_coverage' for ensure loading coverage module from
python-coverage.

Partially implements bp v3-api-extension-versioning

Change-Id: I6a2dbf00d09132b767cd7972f68cb752b5961796
Fix to integer cast of length in console output extension

This fixes a small issue when you try to use console output length as a
float point value (as a float point itself not as string).
The extension was behaving as expected due to impossibility to fulfil the
request, returning bad request, but now this check in completelly done in api
level (it was partially done before) instead of wait until it fails behind the
rpc call.

Naturally a test was added to explicit it and avoid future regression.

related to blueprint nova-v3-api

Change-Id: Ifd7ce90dfd88acc8b22e7d190eafc3dd686186e9
Port os-console-output extension to API v3 Part 1

This changeset only copies the v2 files (implementation and test)
into the appropriate v3 directories unchanged. The copy as-is
will not be loaded by either the v2 or v3 extension loaders. The
second changeset will then make the changes required for it to
work as a v3 extension.

This is being done in order to make reviewing of extension porting
easier as gerrit will display only what is actually changed for v3
rather than entirely new files

Partially implements blueprint nova-v3-api

Change-Id: I7e3519b2367184b34ac7e4df3edf7df38c870a02
Fixed columns list in indexes.

Migration 152 changed the type of `deleted` column from Boolean to
table.id.type for all tables. Also (as side effect) this migration
removed column `deleted` from indexes (in MySQL) or removed whole
indexes (in PostgreSQL). Current migration fixes these indexes.

Fixes bug 1191724

Change-Id: I3d95d102f379c3817bb372fefb1b12cf5de8a4db
Add unique constraint to FixedIp.

Added unique constraint `uniq_fixed_ips0address0deleted` ('address',
'deleted') to FixedIp model and migrate sripts.
Added new exception `FixedIpExists`. Updated functions `fixed_ip_create`
and `fixed_ip_bulk_create`.
Tests updated respectively.

blueprint db-enforce-unique-keys

Change-Id: I34d0d0dd84e66f325f81fc8223fbf261b22e8d1e
Add unique constraints to Service.

Added unique constraints 'uniq_services0host0topic0deleted'
('host', 'topic', 'deleted') and 'uniq_services0host0binary0deleted'
('host', 'binary', 'deleted') to Service model and migrate sripts.
Added new exceptions `ServiceTopicExists` and `ServiceBinaryExists`.
Updated service_create(). Tests updated respectively.
Tests in test_compute updated to avoid conflicts with Service UC.

blueprint db-enforce-unique-keys

Change-Id: I4d9d8cf38afc2fdca3eead65fced5001a1af209e
Remove conductor usage from consoleauth service

There's no reason for the consoleauth service to use the conductor API
since it is allowed to use the db directly.  Remove the single conductor
API call and replace it with the equivalent db call.

Fix bug 1190271.

Change-Id: Id6f50873f792ac4393dc2063f599f0418598091b
Merge "Fixed columns list in indexes."
Merge "Add unique constraint to FixedIp."
Merge "Add unique constraints to Service."
Merge "Fix to integer cast of length in console output extension"
Merge "Port os-console-output extension to API v3 Part 1"
Merge "Port coverage API into v3 part2"
Merge "Standardize use of nova.db"
Merge "Add troubleshoot to baremetal PXE template."
Merge "Revert "fixes nova resize bug when force_config_drive is set.""