Use oslo.i18n

oslo.i18n provides the i18n functions that were provided by
oslo-incubator's gettextutils module. The commit 826aed0ec7e59d5
was merged in Nova.

Change-Id: I8601435c83beaf45839b07193107fb152c8e8b03
Fix wrong param name passed to make request

request(), expects body not data:
httplib.HTTPConnection.request(self, method, url, body=None, headers={})

Change-Id: I82963ea0294d3bbdf109f42a9087a0208c353624
Closes-bug: 1359048
Fix lockpath for tests

Tests need a lock_path set. This change the same fix as used in Nova
to make sure this is set correctly.

Change-Id: Ib8f7b5b36568195da611892fdcc94354d03a14e7
Signed-off-by: Eric Windisch <eric@windisch.us>
Merge "Use oslo.i18n"
Merge "Fix wrong param name passed to make request"
Use oslo.utils

nova began to use oslo.utils.
https://review.openstack.org/#/c/110797/

Change-Id: I76bcbfb3984a65c499593a19a0087afcb650aa41
Implement get_available_nodes

Now required of all drivers is the implementation
of a get_available_nodes method, previously implemented
as part of the base driver class.

Change-Id: I1de5fa5a297de6300f738e762f4b85397085d5a4
Update to oslo serialization and utils

Nova now depends on the above mentioned libraries and there is
a pending review to remove the old files from nova/openstack/common.
So we need to switch over to the libraries.

Change-Id: Iec56eb6a15bf299a24520830578cb39d9de74d3c
Add oslo.config to requirements

The oslo.config requirement was never added, although
it is now used in the code. It has been brought in by default
as a dependency of Nova, but we should specify it as a
direct dependency.

Change-Id: Ie6053ef165a3001657ad2dc738a95c531bed2ba0
Remove modules from openstack-common.conf

We don't really fetch code from oslo-incubator, so we
don't need these entries even by accident.

Change-Id: Ic8d02c9626b79b423a9f772b5a595017e998c7c8
Work toward Python 3.4 support and testing

Change-Id: I9e329824d8c19780683d329d49ea40950762f15d
Docker virt driver fails with ml2 linuxbridge driver

Change-Id: Id33e3a2e0a3125bb3979bd7bd87ab35fdfcd87be
Closes-Bug: #1384701
Port the docker driver to docker-py and remove custom client code

For simplicity and ease of maintenance, remove the custom REST client
code and imports docker-py.

Co-Authored-By: Eric Windisch <ewindisch@docker.com>
Change-Id: I3e17924b8319720ceb7cee480a81e953b809d0ee
Merge "Work toward Python 3.4 support and testing"
Initial security group implementation using NoopFirewallDriver

Starting the scaffolding for adding security groups by enabling a
way to load a firewall driver and make calls to it. For now, just
use a default NoopFirewallDriver which basically does not do
anything

Closes-Bug: #1384429

Change-Id: I35a1216301833e9031c7783140b231972a61ff9b
Fix failure to launch in network without gateway

Check if gateway ip is specified before we try to use it

Closes-Bug: #1381780
Change-Id: I7f8703365e5920f0c04804b2aa6207b91d5f749e
Ability to specify docker host

docker command line support various formats for
specifying the host including alternate locations
for unix sockets and option for setting remote
host and port as well. We should be able to do
the same in the nova docker driver

DocImpact

Change-Id: I83836bce722a06afa5cf6bfd8c0c5866f8d9a9b5
Fix LOG formatting and defer until emit

Formatting could and should be deferred until logs are emitted.
Boden Russell found a bug where bad formatting practice resulted in
a developer calling format() on the output of a gettextutils call.

Here, we standardize the debugging output in a saner, cleaner way as
recommended by Doug Hellmann.

Closes-Bug: #1242820

Change-Id: I259a435466d394c7d009f8ba2e976713f3fb4343
Ability to specify ca certs and ssl validation flags

Add a couple of configuration options to set the CA,
certs and key file. Also specify if we should enable/disable
the CA verification.

DocImpact

Change-Id: Ibbf362cf400229aa5353fe521703f53ef02f0777
Merge "Port the docker driver to docker-py and remove custom client code"