Use install_requires in setup.py

Using install_requires makes sure that if some code is using Swift internal
and wants to require Swift, all its dependencies have been already pulled.
This is really useful on test automation for example, otherwise, code might
be failing because on of the module listed in pip-requires is not instaled.

Also, we change the pip-requires files to use >= rather than ==, so the
requirements are easily fulfiled with distribution provided packages.

Change-Id: I65814bcd8ce798da21a5c17b4d5916a23f59e962
Signed-off-by: Julien Danjou <julien@danjou.info>
one dot, 5% increase in coverage

Change-Id: I1a2d603be983aa3291d22f7258437ee264e6c559
Added override for swift-init's KILL_WAIT

You can now give swift-init a -k N (or --kill-wait N) option to
override the default 15 second wait for a process to die after
sending it the die signal. This is useful for boxes that are awfully
slow for whatever reason.

DocImpact

Change-Id: I328ec254f6e0ee1cd423c1d062ba4c5331bd8337
Made 507s report drive, if known.

This functionality was lost with the swob change, but is back now.

Change-Id: I13b3154080a7c601235711b274e4899efb6adc93
Merge "Made 507s report drive, if known."
Refactor Ring::get_nodes() and Ring::get_part_nodes()

Add a _get_part_nodes() method in Ring class, then call it in Ring::get_nodes() and Ring::get_part_nodes().

In order to reduce duplicate codes.

Change-Id: Id92f8dfd08388305638a2ba2ab64e77545c14cba
Merge "Use install_requires in setup.py"
Merge "Refactor Ring::get_nodes() and Ring::get_part_nodes()"
Convert LICENSE to use unix style line endings.

Ran dos2unix on LICENSE to convert to unit style line endings.
This makes building packages which contain the LICENSE file
a bit nicer... and matches other LICENSE files under the openstack
umbrella which have unix style line endings as well.

Change-Id: Id724d1ba402a590725a2d200f5e0599bce696e5a
suggest fallocate instead of dd in saio

Change-Id: I4d5ba8e58216749c2858dc1c0b8225b3619a7287
Fixes console logging with non-swift middleware

Fixes logging if logging to the console with non-swift middleware (such
as keystone) enabled.  This also fixes issues with swift in devstack

Change-Id: Ib8b691b62b657a6d4ecdb1648d1fc2f3a0479982
Move InputProxy to utils

This class is being used at least by Ceilometer in its Swift middleware, and
since it's a general one anyway, it looks good to move it to common.utils.

This is a follow-up to Chmouel suggestion in
https://review.openstack.org/#/c/18231

Change-Id: I8d0ed8600c4152b91be9a88a3b396c3967d0add2
Signed-off-by: Julien Danjou <julien@danjou.info>
Revert "suggest fallocate instead of dd in saio"

Change-Id: I3742c4580d920e09de434e86b75b134c62f1732e
Merge "Fixes console logging with non-swift middleware"
Merge "Revert "suggest fallocate instead of dd in saio""
saio truncate instead of dd (for reals)

Changing that complex dd to a functionally equivalent truncate that's easier
to read and modify.

DocImpact

Change-Id: I64404318364608e62a1d80f6a0550271eb4cd03a
Merge "Move InputProxy to utils"
Fix for subtle bug from 5c8f9c52e3f2944f01cea621326532e058a225f7

Change-Id: If2bd1d4a850936b2e575a96073c116a8b9522602
Merge "Fix for subtle bug from 5c8f9c52e3f2944f01cea621326532e058a225f7"
Merge "saio truncate instead of dd (for reals)"