Add --auth_url, --username and --password and OS_* env vars as
aliases to --auth, --user and --key.
Default to --auth-version=2.0 if none of --auth, --user or --key
are set or if OS_AUTH_URL is set.
Ensure trailing '/' is present in --auth so URLs are created correctly.
Fixes lp925212
Change-Id: Ic0008c5d5c1ab4fddbaab5d982ab60fed2c50019
Drop potentially-unsafe eval-based json parser that was
used as a fallback in case simplejson and json were not
available. Let's assume people run Python 2.6 or can
install simplejson if they are not. Fixes bug 909568.
Change-Id: I1b1860a77de5075fcea291a4f1b320a3e9e6261f
Set the excecutable bit on swift-form-signature swift-object-expirer
swift-init swift-temp-url binaries. Fixes bug 918430
Change-Id: Iafecf0b542ee8f607e765879edbffa1cb463d3eb
The name field in the service catalog is an operator-specified, marketing name.
The type field contains the canonical name for the service (i.e., swift is
object-store).
Change-Id: I8556b3e6fddd8784f259170195352478d9c6ae32
Add a switch -2 to allow authenticate against service providing
OpenStack auth version 2.0 (ie: keystone).
By default it will authenticate against v1.0 and you can explicitely
force it by adding a --auth-version 1 if in future we decide to set 2.0
auth as default.
It will handle the format tenant:user to indentify to a specific tenant,
if this format is not specified it will assume user is the same as
tenant.
Change-Id: I4684ec1e0950a1dae6935486aa730eaf13d6cd46
Add support to query only specific zones, as well a --all shortcut flag to run all checks.
Also skip deleted devices when trying to grab hosts from the ring.
Change-Id: I441ec76c90857c2e74262a7a9e2d36de89b28631
Replace existing Exceptions in ring builder with more specific exceptions.
Abstracted out some behavior in ring-builder that is likely to cause an
exception. Add try/except blocks to swift-ring-builder to catch specific
exceptions and provide the user with some information about how to deal
with the error.
This change begins to address blueprint friendly-error-messages
Change-Id: I8fc9cfa4899421fe04bba23ac52523778e902321
swift-ring-builder will now return zero for successful operations and
non-zero for operations that have errored or need attention.
Fixes bug 836922
Change-Id: I8d18a49fcf239f7cc7bfe4cdb468ac849436122e
client.py: Will treat empty contents as resettable
st: Updated copy of client.py.
st: No longer aborts everything on one error.
st: Prints when it had to retry.
st: Prints ClientExceptions without the full stack trace.
st: Aborts manifest creation if segments couldn't be uploaded.