Use six.moves.urllib.parse instead of urlparse

To keep Python 3.x compatibility, use six.moves.urllib.parse to
replace urlparse.

Closes-Bug: #1279611
Change-Id: I1867ef3ab0fd13cc7fd0875b419e06c2d96963c2
Remove unused variables

o trove/backup/models.py:SWIFT_CONTAINER = CONF.backup_swift_container

  This variable was added in the following commit.

    commit ce208d6cabba227576f492e7647d9da5a89e7c25
    Author: ruiyuan-shen <ruiyuan.shen@hp.com>
    Date:   Mon Mar 18 14:07:37 2013 -0700

        Add snapshot ORM to reddwarf

  But there is no evidence that was used.

o trove/dns/rsdns/driver.py:DNS_HOSTNAME = CONF.dns_hostname

  This variable was added in the following commit.

    commit 0c34c75dc44876245709987a18ea004607fca815
    Author: Sudarshan Acharya <sudarshan.acharya@rackspace.com>
    Date:   Fri May 18 15:49:12 2012 -0500

        DNS Support for Instance IP.

  But there is no evidence that was used.

o trove/instance/models.py:SERVER_INVALID_ACTION_STATUSES
   = ["BUILD", "REBOOT", "REBUILD", "RESIZE"]

  This variable was removed in the following commit.

    commit 54a4ada785fd90af5134e7f38360938e0b435696
    Author: Ed Cranford <ed.cranford@rackspace.com>
    Date:   Thu Jul 12 15:01:01 2012 -0500

        Delete can now delete errored instances.

o trove/instance/models.py:VALID_ACTION_STATUSES = ["ACTIVE"]

  This variable was removed in the following commit.

    commit 9ccef6fea42454bb22c0d67bd4d2a0765f13d370
    Author: Tim Simpson <tim.simpson@rackspace.com>
    Date:   Wed Jun 27 11:12:28 2012 -0500

        Allowing resizes to be performed when MySQL is down.

Closes-Bug: #1286990
Change-Id: I79f5bb124f2702317d8d337c969c9ff8ea69a769
Removes volumes redefinition in fake nova_client

Reasons:
- The redefinition of nova_client.volumes was making it,
  nova_client.volumes.volumes, if we needed to call the volume APIs
  from nova_client.
- nova_client.volumes is already defined when defining "class FakeClient".

Changes:
- Removes redefinition of nova_client.volumes.

Change-Id: I5981d461e5a0fd000214c35d5d0be58d86d6d368
Closes-Bug: #1292457
fix default rabbitmq configuration values in sample cfgs

The rabbit_* configuration options have default values in the library
code, but they are not visible in the sample configuration file. This
change adds the config values to the sample configuration files.

It also removes the other unused notifier_* config attributes.

Change-Id: I4ae76ef78b7a0a04c2ea5a24fd3000e9c1561f81
Closes-Bug: #1281975
Change Cassandra to Service Start vs Bin

starts cassandra with 'sudo service cassandra start' vs.
'sudo /usr/sbin/cassandra' to avoid having cassandra stopped if the
guestagent is stopped. see the bug details for more information.

Change-Id: Ifab557aaff5023f4b0fb4b91193785a0deb5ee2f
Closes-Bug: #1295313
Pop instead of get for timeout kwarg

In utils.py execute_with_timeout() method was updated
to do kwargs.pop() instead of kwargs.get()

Closes-Bug: #1292692
Change-Id: Id69e66f5e312a2bd2501bae18ddd050dd4296ff5
Start using oslosphinx theme for docs

Change-Id: I0d08e7abbbf51d526d379e8fcea7151ba16d1746
Changes Volume Prefix From mysql To datastore

changes the volume name from mysql-<uuid> to datastore-<uuid>. now
that multiple datastore types are supported, the volume name prefix
should not be hardcoded to "mysql-" so as to avoid confusion to the
user and/or cloud administrator.

Change-Id: Ib585eab42f609095dee709b6e6e5eb980eff42af
Closes-Bug: #1277401
Don't specify admin_token in paste config

This is not a value that is going to be useful on other systems and
shouldn't be included in the default pipeline.

Closes-Bug: #1299332
Change-Id: I714539b7536965fa08a3ddc64493b481df7397e3
Updated from global requirements

Change-Id: Ie9d3fc8dd87474814c4684998f8003e7a216e9d9
Fix create call for security group rules

We need to fix the create security group call to
correctly use the per-datastore configs to set the
port, and protocol values for the security group rule.

The only parameter that the trove user should be able to
specify for the rule is the CIDR.

Changes:
- Use the datastore specific ports and protocol for creating
  the new security group rule.

Changes:
- using datastore-specific ports for building new rules, based upon income CIDR;

Change-Id: Ic1440f735b6cf2b8b4f29c5ab9f48bcb427ca9e6
Closes-Bug: #1298749
Fixed unit test to not actually run backup command

One unit tests is still trying to execute the actual backup command
instead of the mocked backup command. This is causing an issue on
the Jenkins slave where it is trying to run as sudo (and failing).
Fixed the test to use a mock runner, and not try to run innobackupex.

This had been previously fixed by commit 19d940516e, but that fix was
clobbered by the move from mockito to mock.

Change-Id: Ib63187d4414a3ef7b7f664e076bb4d92a40c2214
Closes-bug: 1291516
Merge "Updated from global requirements"
Open Juno development

Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.

Change-Id: If15dd3aa2b9470570d3d9afaf3551618f41ebb97
Merge "Fix create call for security group rules"
Merge "Open Juno development"
Changed assert statement of test_volume_found

Reason:test_volume_found is failing for datastore other than msql
       As volume used for cassandra and others is less than
       threshold defined in test

Change:Changed the threshold check for used volume

Change-Id: Idcf29e8dc924f192fc96682eff05878e274df7ab
Closes-Bug: #1301826
Merge "Change Cassandra to Service Start vs Bin"
Collapse mysql OptGroup Sections

collapses two [mysql] sections into one.

Change-Id: I19317b392aa3c4d670eabbae079c6df406f0ab6f
Closes-Bug: #1302236
Merge "Changed assert statement of test_volume_found"