| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This blindly tries the Subdomain calling format if the ordinary method
fails. In particular, this works around buckets that present a
PermanentRedirect message.
See bug #3128.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Matthew Wodrich <matthew.wodrich@dreamhost.com>
|
|
|
|
|
|
| |
Fixes: #2873
Signed-off-by: Matthew Wodrich <matthew.wodrich@dreamhost.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
|
|
|
|
|
| |
Cloudfiles probably shouldn't be a requirement for running obsync, so this
commit makes it optional.
|
|
|
|
|
| |
Obsync wasn't pulling object metadata from swift stores and thus wasn't
syncing metadata when reading from a swift store. This commit fixes that.
|
|
|
|
|
|
| |
s3 connections require the hostname and swift connections require the
authurl. obsync treats these as equivalent internally, but breaks them
apart on the command line interface for clarity for the users.
|
|
|
|
|
| |
Commit ebe5fc60d20f92a0037c53c1e7bd7ae512be3da4 removed the definition of
vvprint without removint all the places that used it.
|
|
|
|
|
|
|
|
|
| |
A single "url" doesn't make sense for a swift object store the way it does
for an S3 store or local file, so this commit explodes the interface from a
single url argument to three arguments: host, bucket, and object_prefix.
It also adds a SwiftStore and related classes. Syncing ACLs with swift is
not yet implemented.
|
| |
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This class has subclasses representing temporary and permanent
exceptions, as well as argument parsing errors. An instance of this
class can be created from a message or from another exception.
We always print out the type of exception on the last line of stderr,
right after the exception information.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
|
| |
boto_tool can now set extended attributes when performing a PUT
operation.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: "Colin McCabe" <colin.mcccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
| |
The rgw: target can now create buckets. Add a test.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix content-type handling
* add vvprint and use it in Object::equals.
* support RgwStore::prefix
* more tests
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@newdream.net>
|
| |
| |
| |
| | |
Signed-off-by: Sage Weil <sage@newdream.net>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| |
| | |
User-defined s3 metadata lives in a separate namespace from regular S3
metadata like Content-Type, etc.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| | |
Update unit tests now that we're storing ACLs in xattrs. Fix a bug.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| | |
Store the ACL XML in extended attributes rather than in side files.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The DST_CONSISTENCY variable allows us to specify that the destination
is expected to use read-after-write consistency. If that is the case, we
don't have to do slow retries if certain operations fail.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| | |
Add some options to help destroy buckets.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
boto_tool now grabs the configuration variables it needs from the
s3-tests config file, similar to s3-tests and test-obsync.
Also, changed argument parsing to be more straightforward.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| | |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
| |
| |
| |
| |
| |
| |
| | |
Handle eventual consistency issues so that obsync will be usable on more
S3 stores.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|/
|
|
|
|
|
|
| |
Fix the obsync unit tests to take into account the new ACL changes.
ACLs must be either translated or ignored when copying between the
main and alt test buckets.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
| |
Support deterministic nonces. Better debug printouts.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
| |
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|
|
|
|
|
|
|
| |
Use the same configuration file format as s3-tests. This should make it
easier for people to run obsync tests!
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
|