Fixes trove-api daemon fake mode functionality.

This commit adds code to register taskmanager as a fake endpoint.
This allows the fake daemon to work again.

Fixes bug 1238901
Change-Id: Icb7c97cad3d76dc36a38126eb7f8b5929dc0d591
User-Create Host Does Not Allow Wildcarded Octet

as of now, the only wildcarding pattern that will succeed for
user-create's 'host' parameter is '%'.

this patch permits wildcarded octets, e.g. '10.%' & '192.168.1.%'

Change-Id: If58ee69381d1bbf3be4af37c045d6f8a2d924947
Closes-Bug: 1245705
Add default case for mysqld_bin

If mysqld_bin isn't found, there are bigger
problems, but the unit tests fail, citing mysqld_bin
being referenced before assignment.

Change-Id: If570c9863ea703fb35ff4faa075130c14a8c8f23
Fixing typos in _create_server_volume.

There are some spelling mistakes and other issues
that recently broke this code path in taskmanager.
This commit rectifies the issues.

Fixes bug 1253469

Change-Id: I3526bf77618043e9452055423a555c9ff05a369e
Allow query logging

Reason: Each query which is executed through sqlalchemy are logged,
because engine had been initialized with parameter echo=True,
this flag cause security issue - logging insecure user credentials.

Changes:
- adding flag to guest config which allows to
unable/disable insecure/secure query logging,
default value for insecure logging - False;
- engine init parameter echo depends on config value

Closes-Bug: #1224700
Change-Id: I2e0e5970a981f16ce1abe96f012ed7618f57287a
Remove radmin credentials from create_heat_client

auth_token is enough for authentication
in creating a heatclient.Client instance.

Currently both username/password and auth_token
are passed as argument in create_heat_client

Fixes: Bug 1251203

Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1869d
need to mock out of the clear_expired_passwords for tox

Change-Id: Ida4b801dae6ee9d7874701a10f024298e92c73f7
Merge "Add default case for mysqld_bin"
Merge "Remove radmin credentials from create_heat_client"
Merge "need to mock out of the clear_expired_passwords for tox"
Merge "User-Create Host Does Not Allow Wildcarded Octet"
Adding designate dns support to trove

Implements: blueprint designate-dnsaas-support

Change-Id: I69a8455595b519a6459f70efa8eef8a4013bd9f6
Corrects heat template for mysql.

Closes-Bug: #1253596

Change-Id: I3cce6b35fc40f4ff4cc45b04714067956fb1969d
Merge "Adding designate dns support to trove"
Merge "Allow query logging"
Merge "Fixes trove-api daemon fake mode functionality."
Conductor proxies host db access for guests

Previously, instances updated their status by
updating the database on the host directly.
Necessarily, each instance would need access to the
database to stay updated.

Trove's new conductor service eliminates that need by
working as a proxy for those instances. By sending a heartbeat
to conductor via RPC, conductor updates the database
on the host on behalf of the instance.

As backups also made use of the host database, the backup
code has been refactored to take richer inputs to remove
the need to query the host database, and now conductor is
also used to submit updates to backup states.

Implements: blueprint trove-conductor

Change-Id: I4cb34baedd0e3a50051f9e66de95c9028c66e4b5
Removes security_groups from _create_server_volume_heat signature

Closes-Bug: #1254607

Change-Id: I22b6af351dd3a371443f432c01785c706eff8397