]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yuri Weinstein [Thu, 6 Jun 2019 16:46:03 +0000 (09:46 -0700)]
qa/tests: reduced distro to run to be random
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Jason Dillaman [Thu, 6 Jun 2019 15:19:35 +0000 (11:19 -0400)]
Merge pull request #28313 from Songweibin/wip-fix-get-args
rbd/action: fix error getting positional argument
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 6 Jun 2019 15:18:43 +0000 (11:18 -0400)]
Merge pull request #28253 from Songweibin/wip-39973-rbd
osd/OSDCap: rbd profile permits use of rbd_info
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 6 Jun 2019 14:36:48 +0000 (10:36 -0400)]
Merge pull request #27902 from mikechristie/rbd-nbd-netlink-support
rbd-nbd: add netlink map/unmap support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Matt Benjamin [Thu, 6 Jun 2019 12:58:29 +0000 (08:58 -0400)]
Merge pull request #28370 from linuxbox2/wip-rgw-tntbucket
rgw_file: include tenant when hashing bucket names
Lenz Grimmer [Thu, 6 Jun 2019 09:46:36 +0000 (11:46 +0200)]
mgr/dashboard: show degraded/misplaced/unfound objects. (#28104)
mgr/dashboard: show degraded/misplaced/unfound objects.
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 6 Jun 2019 09:38:58 +0000 (17:38 +0800)]
Merge pull request #28039 from majianpeng/make-tcmalloc/jemalloc-work-well
make perf_async_msgr link jemalloc/tcmalloc
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Thu, 6 Jun 2019 09:37:15 +0000 (17:37 +0800)]
Merge pull request #28373 from xiexingguo/wip-40104
mon, osd: parallel clean_pg_upmaps
Reviewed-by: Sage Weil <sage@redhat.com>
Jianpeng Ma [Thu, 6 Jun 2019 03:13:13 +0000 (11:13 +0800)]
test/crimson: make perf_async_msgr link tcmalloc/jemalloc.
For 1M performance, perf_async_msgr w/ tcmalloc/jemalloc is better than
libc.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
xie xingguo [Mon, 3 Jun 2019 08:43:25 +0000 (16:43 +0800)]
test: add parallel clean_pg_upmaps test
With parallel clean_pg_upmaps feature on, the total time cost
of the performance test which now can utilize up to 8 threads for
parallel upmap validating decreased from:
maybe_remove_pg_upmaps (~10000 pg_upmap_items) latency:104s
to:
clean_pg_upmaps (~10000 pg_upmap_items) latency:7s
Note that by default the mon uses only 4 worker threads for
CPU intensive background work, you could further increase
the "mon_cpu_threads" option value if you decided the
time-consuming of clean_pg_upmaps still matters.
Fixes: http://tracker.ceph.com/issues/40104
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 3 Jun 2019 08:10:22 +0000 (16:10 +0800)]
mon/OSDMonitor: do clean_pg_upmaps the parallel way if necessary
There could definitely be some certain cases we could reliably
skip this kind of checking, but there is no easy way to separate
those out.
However, this is clearly the general way to do the massive pg
upmap clean-up job more efficiently and hence should make sense
in all cases.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 1 Jun 2019 11:46:25 +0000 (19:46 +0800)]
osd/OSDMap: split clean_pg_upmaps into smaller helpers
- it's good to read.
- the updating pending_inc part should be made independent
since it is going to be racy while running in parallel.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 6 Jun 2019 01:52:34 +0000 (09:52 +0800)]
Merge pull request #28402 from tchaikov/wip-crimson-cleanup
crimson/osd: some cleanups
Reviewed-by: Samuel Just <sjust@redhat.com>
David Zafman [Wed, 5 Jun 2019 21:43:30 +0000 (14:43 -0700)]
Merge pull request #28302 from dzafman/wip-40078
test: Make sure that extra scheduled scrubs don't confuse test
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Matt Benjamin [Wed, 5 Jun 2019 14:40:08 +0000 (10:40 -0400)]
rgw_file: pretty-print fh_key
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 5 Jun 2019 11:25:35 +0000 (07:25 -0400)]
rgw_file: include tenant in hashes of object
Because bucket names are taken as object names in the top
of an export. Make hashing by tenant general to avoid disjoint
hashing of bucket.
Fixes: http://tracker.ceph.com/issues/40118
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 15 May 2019 19:53:32 +0000 (15:53 -0400)]
rgw_file: include tenant when hashing bucket names
Prevent identical paths from distinct tenants from colliding in
RGW NFS handle cache.
Fixes: http://tracker.ceph.com/issues/40118
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Sage Weil [Wed, 5 Jun 2019 15:22:26 +0000 (10:22 -0500)]
Merge PR #28353 into master
* refs/pull/28353/head:
qa/suites/rados/multimon: skew clocks 2s (< paxos lease)
qa/suites/rados/multimon: create_rbd_pool: false
qa/suites/rados/multimon: no osds when skewing clock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 5 Jun 2019 15:21:19 +0000 (10:21 -0500)]
Merge PR #28365 into master
* refs/pull/28365/head:
global/global_context: always add '\0' after strncpy()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Wed, 5 Jun 2019 13:06:06 +0000 (09:06 -0400)]
Merge pull request #28391 from cbodley/wip-39984
cls/rgw: test before accessing pkeys->rbegin()
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:18:07 +0000 (15:18 +0800)]
crimson/osd/osd.cc: add editor variables/options
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:04:15 +0000 (15:04 +0800)]
crimson/osd: s/ostream/std::ostream/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:00:28 +0000 (15:00 +0800)]
crimson/osd: mark one of PG::do_peering_event()s private
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:11:43 +0000 (15:11 +0800)]
Merge pull request #27995 from richael02/fix_indent
vstart.sh: unify the indent
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 06:33:57 +0000 (14:33 +0800)]
Merge pull request #28358 from liu-chunmei/ceph_seastar_futurized_store
crimson: add FuturizedStore to encapsulate CyanStore
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Wed, 5 Jun 2019 06:17:06 +0000 (14:17 +0800)]
Merge pull request #27735 from xiexingguo/wip-device-class-noout
osd: revamp {noup,nodown,noin,noout} related commands
Reviewed-by: Sage Weil <sage@redhat.com>
Mike Christie [Tue, 14 May 2019 03:58:41 +0000 (22:58 -0500)]
rbd nbd: always try to load module on map
nl and ioctl both need the module loaded so just always load it during
mapping.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Tue, 14 May 2019 03:57:41 +0000 (22:57 -0500)]
rbd nbd: add support for netlink interface
This adds support for mapping and unmapping using the netlink
interface. If the user passes in --try-netlink during mapping then we
will try to use the netlink interface and if that is not supported use
the ioctl interface. For unmap we will always try netlink and if that is
not supported drop down to the ioctl.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Wed, 5 Jun 2019 04:42:40 +0000 (23:42 -0500)]
cmake and build: add netlink lib requirement detection
The next patch adds netlink support to rbd-nbd. This patch just adds the
build related changes to bring in the netlink lib and test and build
against it.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Tue, 4 Jun 2019 18:32:09 +0000 (13:32 -0500)]
cmake: Move WITH_RBD option earlier
The next patch will add a WITH_RBD check to the LINUX check block so we
only check for the netlink libs when those 2 conditions are met, so this
moves the WIT_RBD option setup to before the LINUX check.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Tue, 30 Apr 2019 22:24:07 +0000 (17:24 -0500)]
rbd nbd: Add cond to signal nbd disconnection
With the ioctl interface we know when a disconnect has been executed
because the NBD_DO_IO ioctl will return. The netlink interface returns
after the nl connect cmd call has completed, so this patch adds a cond
that signals when a nl disconnect/NBD_DISCONNECT has been executed and
the server thread has handled the resulting NBD_CMD_DISC.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Wed, 1 May 2019 01:26:08 +0000 (20:26 -0500)]
rbd nbd: just move signal handler
This just moves the signal handler to make it easier to call the netlink
disconnect helpers in the next patches.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Wed, 1 May 2019 00:27:09 +0000 (19:27 -0500)]
rbd nbd: move nbd index parsing to function
Make the nbd index parsing into a functio so we can use in the ioctl and
netlink paths.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Wed, 1 May 2019 01:14:31 +0000 (20:14 -0500)]
rbd nbd: move server startup code to function
The netlink connect cmd interface requires the server to be running when
the connect call completes or commands will timeout/fail. This breaks the
server code to 2 functions so we can control when it starts and runs.
Right now it looks odd in that start_server will allocate and return
the server only for it be freed after run, and it is not touched. The
netlink enablement patch at the end will use the returned server.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Mike Christie [Tue, 30 Apr 2019 06:54:49 +0000 (01:54 -0500)]
rbd nbd: move nbd map ioctls to new function
The next patches will add nbd map netlink support so this moves the ioctl
code to a new function to keep things cleaner and not overloading do_map.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 04:52:03 +0000 (12:52 +0800)]
Merge pull request #28366 from albert-github/feature/bug_docu_formula_invocation
common/hobject: Error invocation of formula in documentation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 04:13:44 +0000 (12:13 +0800)]
Merge pull request #27994 from xiexingguo/wip-balancer-fudge
mgr/balancer: fix fudge
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 04:07:36 +0000 (12:07 +0800)]
Merge pull request #28342 from rzarzynski/wip-messages-std-for-pgcreate2
messages: MOSDPGCreate2 doesn't assume using namespace std.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 04:06:04 +0000 (12:06 +0800)]
Merge pull request #28340 from elliswuuuuuuuu/remove_unused_variable
mgr: remove unused variable pool_name
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 04:03:08 +0000 (12:03 +0800)]
Merge pull request #28268 from liewegas/wip-progress-bar
mon: fix off-by-one rendering progress bar
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Wed, 5 Jun 2019 03:45:08 +0000 (11:45 +0800)]
vstart.sh: add editor variables/options
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 03:29:25 +0000 (11:29 +0800)]
vstart.sh: add an extra param when "run 'mds'"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Richael Zhuang [Tue, 7 May 2019 10:47:24 +0000 (18:47 +0800)]
vstart.sh: unify the indent
Change-Id: Ie1dbe25f81609e5b2f6751da9e87e191a2f78bc2
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
xie xingguo [Wed, 5 Jun 2019 02:41:52 +0000 (10:41 +0800)]
osd/OSDMapMapping: make ParallelPGMapper can accept input pgs
The existing "prime temp" machinism is a good inspiration
for cluster with a large number of pgs that need to do various
calculations quickly.
I am planning to do the upmap tidy-up work the same way, hence
the need for an alternate way of specifying pgs to process other
than taking directly from the map.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Patrick Donnelly [Wed, 5 Jun 2019 00:37:26 +0000 (17:37 -0700)]
Merge PR #28324 into master
* refs/pull/28324/head:
client: clean up error checking and return of _lookup_parent
client: drop Client::lookup_parent
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Patrick Donnelly [Wed, 5 Jun 2019 00:36:04 +0000 (17:36 -0700)]
Merge PR #28116 into master
* refs/pull/28116/head:
client: fix "ceph.snap.btime" vxattr value
client: fix "ceph.dir.rctime" vxattr value
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 23:22:26 +0000 (16:22 -0700)]
Merge PR #28371 into master
* refs/pull/28371/head:
qa: fix kclient symlink to use latest rhel7
qa: fix latest distros and add helper symlinks
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 23:21:22 +0000 (16:21 -0700)]
Merge PR #28148 into master
* refs/pull/28148/head:
common/secret.c: fix key parsing when doing a remount
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
chunmei Liu [Tue, 4 Jun 2019 03:18:20 +0000 (20:18 -0700)]
crimson: add FuturizedStore to encapsulate cyanstore
only add encapsulation. alien store will be implement later.
exception handling will be implement later.
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Boris Ranto [Tue, 4 Jun 2019 21:31:24 +0000 (23:31 +0200)]
Merge pull request #26415 from zmc/wip-populate-grafana
mgr/dashboard: Push Grafana dashboards on startup
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Andrew Schoen [Tue, 4 Jun 2019 21:24:17 +0000 (16:24 -0500)]
Merge pull request #28294 from alfredodeza/wip-rm40063
ceph-volume: pass --ssh-config to pytest to resolve hosts when connecting
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Boris Ranto [Tue, 4 Jun 2019 20:52:54 +0000 (22:52 +0200)]
Merge pull request #28228 from jan--f/spec-grafana-dashboards-require-grafana
ceph.spec.in: grafana-dashboards package depends on grafana
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 20:40:36 +0000 (16:40 -0400)]
cls/rgw: test before accessing pkeys->rbegin()
if pkeys is empty here, dereferencing rbegin() will crash
Fixes: http://tracker.ceph.com/issues/39984
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Zack Cerza [Tue, 22 Jan 2019 00:30:44 +0000 (17:30 -0700)]
mgr/dashboard: Push Grafana dashboards on startup
Because we didn't have viable way to populate Grafana dashboards in a
fully containerized context, we needed a different method. This will
work in packaged and containerized deployments.
We provide three methods to push the dashboard JSON files to the Grafana
instance: a command (ceph dashboard update-grafana-dashboards); an API
endpoint (/api/grafana/update_dashboards); and an automatic on-startup
feature that is disabled by default (ceph dashboard
set-grafana-update-dashboards true). The on-startup method will also
retry periodically to avoid racing with the startup of Grafana itself.
Signed-off-by: Zack Cerza <zack@redhat.com>
Abhishek L [Tue, 4 Jun 2019 19:22:50 +0000 (21:22 +0200)]
Merge pull request #28385 from theanalyst/doc/releases/13.2.6
doc: add release notes for v13.2.6 mimic
Reviewed-By: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 19:11:23 +0000 (12:11 -0700)]
Merge PR #28236 into master
* refs/pull/28236/head:
doc: Fix incorrect indentations in cephfs-shell
doc: Add usage for stat command in cephfs-shell
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 19:06:51 +0000 (15:06 -0400)]
Merge pull request #28386 from cbodley/wip-vstart-rgw-run
vstart: fix run() invocation for rgw
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 18:26:16 +0000 (14:26 -0400)]
vstart: fix run() invocation for rgw
add an extra argument to run() for rgw so that --redirect-output
sends stdout to rgw.{port}.stdout
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 17:46:26 +0000 (10:46 -0700)]
Merge PR #28384 into master
* refs/pull/28384/head:
mgr/volumes: fix subvolume creation with quota
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Ramana Raja [Mon, 3 Jun 2019 09:46:18 +0000 (15:16 +0530)]
mgr/volumes: fix subvolume creation with quota
A quota is set on a subvolume by setting a quota virtual
xattr on a fs subdirectory. The value of the quota xattr
should be a bytes object. The quota value wasn't correctly
converted to a bytes object. Fix this.
Fixes: http://tracker.ceph.com/issues/40152
Signed-off-by: Ramana Raja <rraja@redhat.com>
Kefu Chai [Tue, 4 Jun 2019 16:50:02 +0000 (00:50 +0800)]
Merge pull request #28252 from tchaikov/wip-cmake-cleanup
cmake: cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 16:08:55 +0000 (09:08 -0700)]
Merge PR #28380 into master
* refs/pull/28380/head:
mgr/volumes: convert string to bytes object
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Abhishek Lekshmanan [Tue, 4 Jun 2019 15:20:33 +0000 (17:20 +0200)]
doc: add release notes for v13.2.6 mimic
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
albert-github [Mon, 3 Jun 2019 14:35:54 +0000 (16:35 +0200)]
common/hobject.h: fix syntax in doxygen comment
fix the error invocation of formula in documentation
Error invocation of formula in documentation, the second formula was
started with $f instead of the correct \f$
see also http://www.doxygen.nl/manual/formulas.html
Signed-off-by: Albert <albert.tests@gmail.com>
Rishabh Dave [Tue, 4 Jun 2019 12:26:11 +0000 (17:56 +0530)]
mgr/volumes: convert string to bytes object
mount method in libcephfs's cython modules expects filesystem_name to
be a bytes object. Therefore, convert string to bytes object
beforehand.
Fixes: http://tracker.ceph.com/issues/39750
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Kefu Chai [Tue, 4 Jun 2019 12:59:24 +0000 (20:59 +0800)]
cmake: extract rgw_*_scheduler.cc into rgw_schedulers
i was running into following issue:
../../../lib/libradosgw_a.a(rgw_loadgen_process.cc.o): In function
`RGWLoadGenProcess::run()':
/home/jenkins-build/build/workspace/ceph-pull-requests/src/rgw/rgw_loadgen_process.cc:102:
undefined reference to `signal_shutdown()'
collect2: error: ld returned 1 exit status
signal_shutdown() is only used by rgw_main.cc to notify the main thread,
but we don't need this facility in unit test exercising the schedulers,
so, in this change, rgw schedulers are extracted into librgw_schedulers,
so this library can be consumed by the unit test.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:07:17 +0000 (08:07 -0400)]
Merge pull request #28243 from cbodley/wip-40022
radosgw-admin: fix syncs_from in 'bucket sync status'
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:04:54 +0000 (08:04 -0400)]
Merge pull request #28156 from cbodley/wip-rgw-realm-list-api
rgw: add 'GET /admin/realm?list' api to list realms
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Tue, 4 Jun 2019 12:03:28 +0000 (08:03 -0400)]
Merge pull request #28345 from tianshan/fix_http_return_check
rgw: fix miss handle curl error return
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:03:00 +0000 (08:03 -0400)]
Merge pull request #28303 from cbodley/wip-39992
rgw: fetch_remote_obj() compares expected object size
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Casey Bodley [Tue, 4 Jun 2019 12:00:27 +0000 (08:00 -0400)]
Merge pull request #28188 from tianshan/fix_39984
rgw: fix bucket may redundantly list keys after BI_PREFIX_CHAR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 11:53:43 +0000 (07:53 -0400)]
Merge pull request #27993 from liuchang0812/rgw-bucket-tagging
rgw: bucket tagging
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Chang Liu [Fri, 17 May 2019 02:53:32 +0000 (10:53 +0800)]
rgw: cleanup bucket tags code
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Tue, 14 May 2019 14:11:40 +0000 (22:11 +0800)]
rgw: show bucket tagging when user stats bucket
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Casey Bodley [Mon, 3 Jun 2019 14:59:00 +0000 (10:59 -0400)]
test/rgw: test truncated reads in RGWHTTPManager
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Tianshan Qu [Fri, 31 May 2019 10:37:44 +0000 (18:37 +0800)]
rgw: fix miss handle curl error return
if meet tcp packet loss, curl return will be result=18(CURLE_PARTIAL_FILE)
and http_status=200, so sync will continue and cause content miss match.
Fixes: https://tracker.ceph.com/issues/39992
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
Kefu Chai [Tue, 4 Jun 2019 02:57:12 +0000 (10:57 +0800)]
Merge pull request #28362 from cyx1231st/wip-seastar-fix-random-failure
test/crimson: fix msgr test of ref counter racing
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Mon, 3 Jun 2019 13:15:42 +0000 (21:15 +0800)]
test/crimson: fix msgr test of ref counter racing
Foreign-dispatch in crimson-messenger is not implemented yet, and no
need to test this feature now.
Fixes: http://tracker.ceph.com/issues/36405
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
Chang Liu [Tue, 14 May 2019 14:11:05 +0000 (22:11 +0800)]
rgw: simplify RGWObjTags dump
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 13:30:39 +0000 (21:30 +0800)]
doc: bucket tagging is supported now
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 13:24:43 +0000 (21:24 +0800)]
rgw: forwards to master and uses gw_bucket_set_attrs
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 09:16:03 +0000 (17:16 +0800)]
rgw: make max number of bucket/object tags configurble
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 04:07:51 +0000 (12:07 +0800)]
rgw: iam policy about bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Tue, 7 May 2019 07:52:17 +0000 (15:52 +0800)]
rgw: impl put_bucket_tags and delete_bucket_tags
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 13:14:18 +0000 (21:14 +0800)]
rgw: add set_bucket_tags api
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 13:13:45 +0000 (21:13 +0800)]
rgw: uses 404 http code when there is NoSuchTagSetError
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 06:27:16 +0000 (14:27 +0800)]
rgw: get bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Sun, 5 May 2019 13:10:29 +0000 (21:10 +0800)]
rgw: declares bucket tagging op classes
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Sun, 5 May 2019 12:30:46 +0000 (20:30 +0800)]
rgw:new op type and error code about bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Patrick Donnelly [Mon, 3 Jun 2019 21:39:57 +0000 (14:39 -0700)]
qa: fix kclient symlink to use latest rhel7
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 3 Jun 2019 21:36:30 +0000 (14:36 -0700)]
qa: fix latest distros and add helper symlinks
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jeff Layton [Thu, 30 May 2019 19:56:53 +0000 (15:56 -0400)]
client: clean up error checking and return of _lookup_parent
ll_lookup_inode can end up getting back 0 from _lookup_parent,
without zeroing out the parent pointer, which ends up remaining
uninitialized.
Fix this by moving most of the sanity checks in _lookup_parent
into ll_lookup_inode, and only have it issue the call to the MDS.
This also allows us to do the checks in a more sane order.
Fixes: http://tracker.ceph.com/issues/40085
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Sage Weil [Mon, 3 Jun 2019 20:45:42 +0000 (15:45 -0500)]
Merge PR #26547 into master
* refs/pull/26547/head:
Added validation of zabbix_host to support hostnames, IPv4 and IPv6.
mgr/zabbix: Documentation added.
mgr/zabbix: Adds possibility to send data to multiple zabbix servers.
Reviewed-by: Wido den Hollander <wido@42on.com>
Sage Weil [Mon, 3 Jun 2019 20:44:11 +0000 (15:44 -0500)]
Merge PR #27667 into master
* refs/pull/27667/head:
src/test: fix creating two different objects for testing chunked object
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Jun 2019 20:43:33 +0000 (15:43 -0500)]
Merge PR #28200 into master
* refs/pull/28200/head:
pybind/mgr: add slash to prometheus illegal metric name characters
pybind/mgr: fix format for rbd-mirror prometheus metrics
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Samuel Just [Mon, 3 Jun 2019 20:41:05 +0000 (13:41 -0700)]
Merge pull request #28180 from athanatos/sjust/wip-crimson-peering
Integrate PeeringState into crimson, fix related bugs
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 18:29:09 +0000 (14:29 -0400)]
Merge pull request #28068 from cbodley/wip-qa-rgw-s3a
qa/rgw: don't use ceph-ansible in s3a-hadoop suite
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Patrick Donnelly [Mon, 3 Jun 2019 18:28:47 +0000 (11:28 -0700)]
Merge PR #28300 into master
* refs/pull/28300/head:
doc: cephfs: add section on fsync error reporting to posix.rst
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Jeff Layton [Thu, 30 May 2019 19:52:11 +0000 (15:52 -0400)]
client: drop Client::lookup_parent
Nothing calls this method.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 17:06:29 +0000 (01:06 +0800)]
cmake: link rbd_reply against rbd_replay_types
should make it `PUBLIC` because, for instance,
src/rbd_replay/actions.hpp uses
`rbd_replay::action::IoActionBase::dump()` and
`rbd_replay::action::ActionBase::dump()`
Signed-off-by: Kefu Chai <kchai@redhat.com>