]>
git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Josh Durgin [Mon, 10 Nov 2014 22:14:11 +0000 (14:14 -0800)]
client: don't hide boto return values
The decorator for translating boto exceptions needs to return
explicitly, or it will lose the return value of the original function,
and cause full sync to fail for objects that aren't in the bucket
index log.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Alfredo Deza [Wed, 19 Nov 2014 20:23:59 +0000 (15:23 -0500)]
add a test that ensures that wait_for_object is not called if object is not found
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 20:23:04 +0000 (15:23 -0500)]
by default object is not found, changing only when sync_object_intra_region() works
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 20:09:50 +0000 (15:09 -0500)]
raise SyncFailed on transient errors
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 20:09:09 +0000 (15:09 -0500)]
allow a stringified version of the http status code
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 20:08:42 +0000 (15:08 -0500)]
tests for sync_object in worker.py
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 20:08:24 +0000 (15:08 -0500)]
configure logging for testing
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Alfredo Deza [Wed, 19 Nov 2014 14:03:16 +0000 (09:03 -0500)]
log the exception as error
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Josh Durgin [Mon, 17 Nov 2014 21:13:59 +0000 (22:13 +0100)]
Merge pull request #10 from ceph/wip-coverage
add parametrization for endpoint tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Alfredo Deza [Mon, 17 Nov 2014 17:20:54 +0000 (12:20 -0500)]
add parametrization for endpoint tests
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
Josh Durgin [Fri, 25 Apr 2014 23:52:16 +0000 (16:52 -0700)]
client: fix unicode handling
Use unicode format strings, and don't url-encode the object copy path
before passing it to requests, which will url-encode it for us.
Partially-fixes: #8202
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Thu, 27 Mar 2014 18:54:50 +0000 (11:54 -0700)]
logrotate: don't rotate empty logs
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Sat, 22 Mar 2014 03:44:11 +0000 (20:44 -0700)]
debian: fix init script installation
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Sat, 22 Mar 2014 12:10:28 +0000 (05:10 -0700)]
packaging: fix up spec file for non-python files
Correct the installation of the binary, logrotate conf, and init script.
Stop using INSTALLED_FILES. Instead explicitly list files and glob the
python package, as recommended by Fedora's python packaging guide.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Wed, 19 Mar 2014 11:31:29 +0000 (04:31 -0700)]
cli: add a default log file
Now that the packages include /var/log/ceph/radosgw-agent, default to
storing logs there, named after the configuration file or
radosgw-agent.log if no config file was used.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Wed, 19 Mar 2014 11:30:02 +0000 (04:30 -0700)]
debian: depend on python 2.6 or higher
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Wed, 19 Mar 2014 10:32:07 +0000 (03:32 -0700)]
packaging: add logrotate config
There's no need to signal running agents since they use
a WatchedFileHandler that detects rotation itself.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Wed, 19 Mar 2014 10:11:50 +0000 (03:11 -0700)]
packaging: add init scripts
create log, run, and etc dirs as well
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Wed, 19 Mar 2014 09:27:32 +0000 (02:27 -0700)]
packaging: add dependency on python-requests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>