Remove unused admin_context from conductor manager

This variable was used nowhere, plus it referenced three config
variables which were also in the sample config file that Conductor
doesn't need.

Change-Id: I08ffe578158c73d387112b6c05b7ab2c6cae833b
Fix Redis After Configuration Group Merge

the configuration-group implementation forgot to update the
prepare() method for redis to include overrides. in addition, an
override.config.template is now required to avoid a fatal error in
the taskmanager.

Change-Id: If12a4e4c9f1bbb8e96a3ed443756f70398525bde
Closes-Bug: #1277390
Rename Openstack to OpenStack

Change-Id: I5ac475b3fc2c72abf9a082b3ee406029082fee87
Use consistent timeouts for integration tests

Closes-Bug: #1281254
Change-Id: Ifc16709c68b059b0bf5e6872236970e012ee25bc
Call debug_utils.setup() in all entry points

Closes-Bug: #1281442
Change-Id: I449ab355d3b4d8f6177e164e6e736528b70f06da
Raise max header size to accommodate large tokens

The max header is exceeded in the following scenario
- Auth tokens built with a keystone v3 API catalog
- A catalog with approximately 8 or more endpoints defined

An equivalent fix will be required for all projects which use
eventlet.wsgi.

Closes-Bug: #1190149

Change-Id: Ia0882e43395f1025137173b51aab147433b54255
Fixes a race condition in resize flavor for Percona

When a resize happens immediately after an instances gets created,
the mysql process doesnt have enough time to finished up
provisioning before the resize-action invokes a stop and start
resizing. Although the trove tries to stop mysql, the stop command
doesnt ensure that mysql was stopped successfully. This causes
mysql to be corrupted when migrated to a different VM. Normally
this is not an issue since mysql provisioning has plenty of time
to finish. This becomes an issue when doing an resize when mysql
has just finished provisioned. Only happens in automated tests.
This fix will ensure that the mysql server is stopped before a
resize is performed.

Change-Id: I0a3c351b61b82b88dfe05325a38ce93d6973a9f6
Closes-Bug: 1284989
Adding "version" to "datastore" field during list instances API call

Closes-Bug: #1279022

Change-Id: I738e37f227ac7d441dda41b48ede661aceada8fd
Fixes get configuration defaults

Querying for the default configuration of an instance fails when
the my.cnf has keys with no values. ie 'skip-external-locking'.
To fix this, we modify the config template to include values

Change-Id: Iab96ec8cd3f8d79fe2b3946c4e9db094a3acbe93
Closes-Bug: 1285428
Remove extraneous vim configuration comments

Remove vim setting, Remove line containing:
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

at the top of source code files, except for files in
openstack/common.

Change-Id: I5e2aad6dca8407890fc3c2afbda541bd4f124ea8
Closes-Bug: #1229324
Merge "Use consistent timeouts for integration tests"
Merge "Remove unused admin_context from conductor manager"
Merge "Call debug_utils.setup() in all entry points"
Security groups workflow update

Reasons:
 - By telling to trove-taskmanager
   that it should create security group with
   datastore default port taskmanager should
   go into config and find default datastore
   specific ports and create custom rule
   for them. But now it creates rule
   which allows access to 3306 port - here comes bottleneck,
   this port should be custom for each datastore.

Changes:
 - Rules are not optional any more, because empty
   security group is meaningless. By allowing usage of
   security groups we telling that it should contain
   rule by default, which mean "not optional";
 - Adding option group for a specific datastore (mysql, redis);
 - Adding tcp and upd ports as possible options.

Implements: blueprint security-groups-workflow-update
Change-Id: Iaf3187ba89d0674f7921cbf92e5eb24de05abc6b
Merge "Remove extraneous vim configuration comments"
Make backup/restore pluggable

Reason:
 - mutliple datastore support;
 - execute_backup expects that instance that
   is going to be backuped is a mysql server
   (expects that my.cnf exist).
Changes:
 - oslo groups added;
 - updating MySQLDump strategy;
 - cleaning runner parameters;
 - updating tests;

Change-Id: Id98ac37c048db79cd24adfa22f0db722648cf55b
Closes-Bug: #1281127
Merge "Fixes a race condition in resize flavor for Percona"
Initial support for single instance Couchbase

This code adds the ability to create single instance couchbase server.
No other operations supported.

Change-Id: Icaac84c64f89b07ed2e85ad5215809d04ae74ebc
Implements: blueprint couchbase-single-instance-ga
Fixes restore from incremental backups for Percona

Restore from incremental backups is failing for percona. The root
cause is that the prepare starts running before the unpack is
finalized. This causes the prepare to fail when it cannot find
the xtrbackup_checkpoint file, which is obtained by unpacking the
decrypted file from swift. To fix it, i have moved the line that
checks for error in the stream to where child process is supposed
to finish. This will make sure that it will block until the
process is done. Since this line was moved, nothing special
occurs in __exit__. Since there is nothing special going on in
__enter__ either, i decided to remove it, thus removing the 'with'
keyword in backupagent.py.

Also 'self.process' and its pid doesnt need to be part of the
restore object. Due to the recursive behaviour of Restore, these
attributes didnt make sense. So i changed their visibility.

Change-Id: I234e0b2bb71ca90d53cfd8f9c51a159ddc2681c9
Closes-Bug: 1285291
Merge "Security groups workflow update"