Cleans and improves heat code path

Reasons:
- Heat code path contains cinder code.
- Heat code path contains nova code.
- Heat template is frozen with Volume support,
  it cannot act in a volume disabled environment.

Changes:
- Adds conditional Volume support in heat.template.
- Adds conditional template rendering.
- Cleans nova code from heat code path.
- Cleans cinder code from heat code path.

Change-Id: I7e4d6edf8bb11de0bcf913a58b257c625468322c
Closes-Bug: #1262378
Removes BuiltInstanceTasks.get_volume_mountpoint

Reasons:
- Method is not being used in the project.
- Method has an unassigned variable used volume_id.

Changes:
- Removes get_volume_mountpoint from trove.taskmanager.models.

Change-Id: I2942a4cc952a473dd1ed1d52c8cb2205566b68ae
Closes-Bug: #1263371
Adds LOG in event_simulator.py

Reasons:
- Module method event_simulator_sleep uses LOG, but LOG was nowhere
  implemented in module.

Changes:
- Added LOG in the module.

Change-Id: I0ddee7a5d933317e3ad0add4b791e945f000629d
Closes-Bug: #1264721
Removes unused "server" from taskmanager

Reasons:
- server has not got any proper used-case in the code.
- Methods for server creation do not need to return server.

Changes
- Removes server from return of server creation methods.
- Removes server from FreshInstanceTasks.create_instance.

Closes-Bug: #1265896
Change-Id: I729992a7f5124d4a6da12835a08b07e38b583f61
Using base32 encoding to generate DNS records

The Designate driver generate record names by
hashing and 64-base encoding the instance ID.
The problem is that 64-base encoding can generate
hyphens and upper/lower case letters. Hyphens are
illegal when it is at the beginning of the name.
Name is also case insensitive. So the best solution
is to use BASE-32 encoding.

Change-Id: Ie98a0a50a609207df041c5f0bc2f622701ee9848
Closes-Bug: #1262789
Enabled F403 flake8 rule

Reasons:
- F403 is disabled.
- code contains "import *" statements.

Changes:
- Updates tox.ini to enable F403 rules.
- Updates code for F403 violation.

Change-Id: If932a910c073ae7bffb74908495f35dbc4f4d1f9
Closes-Bug: #1264724
Log service_status.status instead of service_status

Reasons:
- While printing the service status to log instead of printing status
  it prints the object id for service_status object.

Changes:
- Replaces service_status by service_status.status.
- Now it prints the service status to the log.

Change-Id: I98b78eb065bb6a2bce31a9dfcc591423e653dbae
Closes-Bug: #1265141
Merge "Log service_status.status instead of service_status"
Merge "Adds LOG in event_simulator.py"
Merge "Enabled F403 flake8 rule"
Merge "Removes BuiltInstanceTasks.get_volume_mountpoint"
Relocates generate_random_password to common.utils

Reasons:
- instance.models._create_resources is still uses uuid as root_password.
- generate_random_password needs to be used in a diferent module, so it
  is a candidate to be moved to trove.common.utils, so that any
  new change could be made at one place only, affecting all used-cases.

Changes:
- Relocates generate_random_password to common.utils
- Replaces uuidutils.generate_uuid with generate_random_password in
  trove.instance.models._create_resources(password_length).

Change-Id: Ib58bf83b3c052261418907db41ca963768d2e710
Closes-Bug: #1264330
Updates oslo.context

This change is needed for uuidutils removal in Trove

13eb01c Adding domain to context and log
12bcdb7 Remove vim header
bdabd51 Remove uuidutils imports in oslo modules

Change-Id: I3b4eead93fc2d12ccb6a0837f9100b784b25d8dd
Replace oslo.uuidutils module with trove.utils

Oslo is removing uuidutils during the icehouse cycle.
Consequently we need to remove all references to uuidutils, and
replace them with the corresponding function from trove.utils.

Change-Id: Idd4b25e98624dfb6a25e275cac44a54324f50449
Closes-bug: 1253497
move datastore manager to the datastore version

This moves the datastore manager field to the datastore version object
so that we can have managers per datastore version and they can be
shared if nessesary.

implements blueprint move-manager-to-datastore-version

Change-Id: I1c889a01005ec482bcd44e0e19475bc972e1af04
Adds Missing _() for Exception Message Translation

Reasons:
- Exception messages missing underscores. This is necessary to
  mark messages as ready for translation, and is already the
  defacto standard across the trove codebase,as per,
  https://wiki.openstack.org/wiki/Translations
- Because of incorrect Exception messages, it does not overrides
  the default message of BadRequest.

Changes:
- Adds the missing underscore function to wrap a few user-facing
  exception messages.

Change-Id: Ib4a183f717146493e514b8169679a57cc2ecfd01
Closes-Bug: #1264688
Merge "Cleans and improves heat code path"
Merge "Adds Missing _() for Exception Message Translation"
Merge "Using base32 encoding to generate DNS records"
Merge "Removes unused "server" from taskmanager"