Convert unicode for python3 portability

From http://docs.python.org/3.1/whatsnew/3.0.html:

"Python 3.0 uses the concepts of text and (binary) data instead of
Unicode strings and 8-bit strings."

Use six.text_type to Type for representing (Unicode) textual data. This
is unicode() in Python 2 and str in Python 3.

Change-Id: I3da268a714a34a8e626a2590f01b86e414dc3411
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Import trycmd and ssh_execute from nova.

This change required adding basic unit tests as well as these were
both untested in nova.

Change-Id: If6843e57810198aab3c61f9eb3c3a6f42f710f7c
Adds timeutils and uuidutils maintainer

Change-Id: I233de16bed565bbe37950503e8b62890f9b4c1d1
Merge "Convert unicode for python3 portability"
Convert unicode strings for python3 portability

From http://docs.python.org/3.1/whatsnew/3.0.html

You can no longer use u"..." literals for Unicode text.
However, you must use b"..." literals for binary data. Use
python-six to make this migration easier.

Change-Id: I95166a07f4edf33be55a4bdf2674c2f238a06f19
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Copy Nova's workaround for RHEL6 eventlet issue

The eventlet on PyPI basically doesn't work on RHEL because we (Red Hat)
screwed up by not taking monkey patching into account when backporting
an API from python 3. This is the series of events:

  1) We backported a patch to RHEL6 from Python 3 which added an
     optional 'timeout' argument to subprocess.Popen:

       http://pkgs.devel.redhat.com/cgit/rpms/python/commit/?h=rhel-6.3&id=fc9a3f0e07

     This might sound innocuous but it means the wait() function get
     called with a timeout argument

  2) eventlet overrides this function, but doesn't know about the
     timeout argument, so it fails. To reproduce, try applying this to
     your python 2.7:

       https://gist.github.com/markmc/5500967

  3) eventlet doesn't yet support Python 3, so the only time this issue
     crops up is if you use eventlet on RHEL6

  4) We've fixed eventlet in EPEL6, but the issue still remains if you
     install eventlet from upstream

  5) Dave Malcolm sent a pull request to eventlet, but it has stalled:

       https://bitbucket.org/eventlet/eventlet/pull-request/30/add-dummy-timeout-parameter-to

Nova has long had a nasty workaround to patch eventlet in our virtualenv
and we now need this workaround in oslo-incubator to test processutils.
Let's add it here and make nova sync it from oslo-incubator.

I really hope we can get eventlet upstream "fixed" and the fix released
soon. When that happens, we can kill all this nastiness.

Change-Id: I62ce43a330d7ae94eda4c7498782a655e63747fa
Merge "Copy Nova's workaround for RHEL6 eventlet issue"
Added convenience APIs for lockutils

The lock_file_prefix for each project doesn't need to be configurable or
frequently changed. This patch provides a convenience API which returns
a partial object of the synchronized decorator to avoid passing the prefix
each time locks are used.

The set_defaults method is also provided to change the default value of
lock_path when needed.

Fixes bug #1065524

Change-Id: I7b67f0a482da4be6d53a70db5bbd22dc91bdc10c
Stylistic improvements from quantum-rootwrap

As part of the convergence effort between oslo-rootwrap and
quantum-rootwrap, import stylistic improvements introduced
in quantum-rootwrap, like:

- HACKING-compliant docstrings
- More elegant return construct from match_filter in filters.py
- Remove overridden use of filters in wrapper.py

Change-Id: I49a97271b1c385feb25adf4f62add5c71962b5dd
Pass backdoor_port to services being launched

Change-Id: I7227648f9b9e1d3e30f4b2d03964ee5c625a1024
Minor README improvement

Make it a .rst, add a link to the wiki page, mention that this repo is
an incubator.

Change-Id: I47a1b6f5811ce476393ac94c3b11eec61b3984e3
Add DynamicLoopCall timers to ThreadGroups

Change-Id: I99a67355a7af054c17d3f6807609dbb11ad40631
Renames filter to base_filter and weight to base_weight

filter is a python builtin function so importing it pollutes ones name
space.

It is now renamed to base_filter.

We also rename weight to base_weight, just to be consistent in the
naming conventions.

We add a test for base_filter.

Fixes bug 1175829

Change-Id: I46e0fa696d2f39081b5568c701b0a70c54f271ab
Merge "Import trycmd and ssh_execute from nova."
Merge "Adds timeutils and uuidutils maintainer"
Merge "Stylistic improvements from quantum-rootwrap"
Merge "Convert unicode strings for python3 portability"
Merge "Added convenience APIs for lockutils"
Removes leading zeros on integers in test_timeutils

Change-Id: If1cb92ba0ff1a57ab8940d9f9e1fe66ffd34441a
Merge "Removes leading zeros on integers in test_timeutils"