Support Optional Super User in Instance Create

The creation of initial users and/or databases is supported in an
instance-create request, but the creation of a super/root user is
not. Granted, it's possible to create or reset the root user, but it
must be done as a separate request, after the instance has completely
initialized.

Changeset: If CONF.root_on_create == True, a UUID is generated for
the root user's password and is returned in the instance-create
response as the "password" property/field.

Change-Id: I300d3f019766445b90411d5ab8651b1aa34a77e9
Implements: blueprint instance-initial-super-user
Closes-Bug: #1219624
Allow early host % on validate

On users validation, if host is not specified
it doesn't get's default value.
Change-Id: I489b99b393362f2587efbf03417c8623cbbdde3b
Extract generic part of GA code from MySQL specific modules

Extract common part of MySqlAppStatus to superclass
in order to provide easier implementation of
other DB engines support

Blueprint: refactor-ga-for-other-engines-support

Change-Id: Id101cccb0181055153ad817c12b1056e989b598d
Correct the fake implementation of UsageVerifier

* rename clear_event to clear_events

Fixes: Bug #1234739
Change-Id: Ia3e2e9ecc85c49321793a098f272982bffc2230c
Adding location attribute to Fake Backup object.

Fixes: Bug #1234869

Change-Id: If564f0c061dffe31da7476a35f90cac20d6c612e
Remove Duplicate trove_auth_url Property

Remove duplicate trove_auth_url property from
trove-taskmanager.conf.sample

Change-Id: Ie0cfb08b8ba808647184fb1a343c6773a107cfd7
Closes-Bug: #1234909
Add tenant id to guest_info file

Fixes bug 1235039

Change-Id: I358fe58bbe343cdf65b18b391196d36d4647b35e
Fix the fake nova server implementation

* rename 'hostId' attribute to 'host'
* remove duplicate initialization of 'host' attribute in account
  models.

Fixes: Bug #1235278

Change-Id: If0110bef1beec5f570209379f24f183927908218
Merge "Correct the fake implementation of UsageVerifier"
Merge "Adding location attribute to Fake Backup object."
Merge "Remove Duplicate trove_auth_url Property"
Merge "Fix the fake nova server implementation"
Fix quota issue where usages can drop to negative value

This is caused by an exception occuring in the model when creating
and instance. When this happens, the quota rolls back but the DB
record, created for that instance, does not. This issue is NOT fixed
in this patch but depends on
BP https://blueprints.launchpad.net/trove/+spec/security-groups-workflow-update

What this fix does is adds a check that prevents quota usages drop below 0.

Also it fixes a bug where the reserve quota was being set and not added.
This causes problem when multiple requests are sent at the same time
and causes race condition issues.

Fixes bug 1178333

Change-Id: I1c64941815b91e58d79b17d7a6e69c15c1daaf36
Allow service_id per service_type for Usage Events

    notification_service_id is not of type DictOpt,
    this allows for a comma-sep list of
    service_type:service_id pairs

Fixes: Bug 1215649
Change-Id: Ic747bf50bf6f4c2b705ecae96a7ead52ebcdae38
Merge "Allow early host % on validate"
Merge "Allow service_id per service_type for Usage Events"
PEP8. E125, F811, F401, H703

Change-Id: I9537e364affe20b9edf6861dc9a0d6437a112d30
Implements: blueprint reduce-amount-of-pep8-ignored-rules-in-tox-tests
Service Registration using conf file

Making the DB specific settings for Service
Registry configuration driven that will help
in addition/removal/modification dynamically
for new service type.

Format for adding new service type in guestagen
config file will be -
service_registry_ext  = <add service type in dictonary>

implements: blueprint configuration-driven-changes

Change-Id: I0fc1a80f0fa70dbc0c477e31b5374d156bb03488
Merge "PEP8. E125, F811, F401, H703"
Merge "Service Registration using conf file"