Clear new or building backups on reset-task-status

The reset-task-status management call now also clears off
any new or building backups for the instance by marking
those backups as FAILED.

Fixes Bug # 1205471

Change-Id: I478782b5e90c9965b91169a784b2ea65bda8a8b4
Turns pkg.py into a system aware packager

implements blueprint rpm-integration

Change-Id: I65e16874e9d5fdea8633b3e3c5a4d89b2548add7
Added docs and made template filename variable

Changed how jinja ENV is created
Added docstrings to functions in template.py
Renamed _location_types private attribute of
 SingleInstanceConfigTemplate to _config_paths
SingleInstanceConfigTemplate constructor now uses filename based on
 service type
SingleInstanceConfigTemplate render method now returns the result
Tests updated to use new style of render method
mysql.config.template duplicated to percona.config.template

implements blueprint redis-servicetype

Change-Id: Id9317b560236d5d4967b888d0dc3a4135f1822dc
Renamed secgroup description

Removed unnecessary line continuation as per hub_cap

Fixes: bug #1206229
Change-Id: Id33271401dcedbf4cecc2cba83cd1e02f7cc7023
Modify User Attributes - name, host and password

At present, when a Cloud Database user creates a username, password and hostname for a database user,
he does not have the ability to modify these user attributes.
This API enables the Cloud DB user to modify one or more of these user attributes (username,hostname,password).

Implements: Blueprint modify-userattributes

Change-Id: I253cacf998e93b3d6136905dbb4a3516272efb0e
Adding volume size to the backup views/models.

* Save the size of the guest before running a backup
* Display the size in the backup GET/LIST views
* Simplify the dbaas module removing redundant class.
* Switch get_filesystem_volume_stats to use os.statvfs()
* Change output of volume stats to return used in GB
  to simplify various view that display it.

Implements: Blueprint backup-volume-size

Change-Id: I860427d3491acb34e43ee23f91e4ffbb39e0042c
Merge "Modify User Attributes - name, host and password"
Merge "Renamed secgroup description"
Fix spelling of python.

Change-Id: I717ca931854f32b79c13a81fd635327c52624c63
Replace nova client with cinder client to use volume

Now cinder support a few new features like extend volume which used in Trove.
We can't use nova client to enjoy this new feature, so we should change to use
cinder client as volume management.

implement bp implement-volume-extend

Change-Id: I4f9139bacd7d8b4c2538bff6aa54416b27c9026e
Merge "Replace nova client with cinder client to use volume"
Merge "Fix spelling of python."
Merge "Clear new or building backups on reset-task-status"
Merge "Adding volume size to the backup views/models."
Merge "Turns pkg.py into a system aware packager"
Configurable network labels used for showing IPs in instance details

The ip shown in the instance detail was hard coded to be obtained from
a nova netwok label 'private' or 'usenet'. With this change, the labels
is configurable based on a regex pattern.

Fixes bug 1206303

Change-Id: I73d896e6b85bdebe342a777219b9b60d6954f8b6
allows a mgmt user to migrate an instance to a specific host

a mgmt user and use the instance migrate api and specify a host that
they would like the instance to move to.
Fixing migration fake mode.

implements blueprint migration-force-to-host
https://blueprints.launchpad.net/reddwarf/+spec/migration-force-to-host

Change-Id: I1fd7b2f5ae5328de642ec1ad6ee4d62c5a29168f
Removing mycnf static files from contrib.

implements bp guestagent-mycnf-versioning

Change-Id: I4ad06d165b47be49841a83de2d1d229cd7561775
Moves extension files to routes

This allows extensions to be loaded properly without interfering with
directories in trove/extensions that are loaded as python modules.

Change-Id: Iad1bdc9b7548c46b0e5b8694693b4456ac548f14
Implements: Blueprint fix-extensions-imports
Merge "allows a mgmt user to migrate an instance to a specific host"