Commit Graph

102244 Commits

Author SHA1 Message Date
Casey Bodley
bd94272cd2
Merge pull request #19020 from zhangsw/feature-rgw-bucketsync-api
rgw: add admin rest api for bucket sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:33:47 -04:00
Casey Bodley
125ab97d88
Merge pull request #29637 from liuchang0812/rgw-es7
rgw: sync with elastic search v7

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:24:47 -04:00
Casey Bodley
3993a72412
Merge pull request #29897 from tianshan/fix_list_start_with_null_marker
rgw: fix list versions starts with version_id=null

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:23:31 -04:00
Casey Bodley
30b3ecbcc6
Merge pull request #29909 from cbodley/wip-40935
rgw: fix default storage class for get_compression_type

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:22:18 -04:00
Casey Bodley
d5d0d7fef3
Merge pull request #30127 from zhangsw/rgw-fix-adminuser
rgw: add missing admin property when sync user info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:21:37 -04:00
Casey Bodley
026eed47d2
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
rgw: add transaction id to ops log.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:20:50 -04:00
Casey Bodley
b087c4eacd
Merge pull request #30175 from tianshan/improve-data-sync-retry
rgw: improve data sync restart after failure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:18:59 -04:00
Casey Bodley
20159f03e0
Merge pull request #30189 from linuxbox2/wip-rgw-ss3lite
rgw: crypt: permit RGW-AUTO/default with SSE-S3 headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:18:14 -04:00
Casey Bodley
2c82b290e9
Merge pull request #30194 from vumrao/wip-vumrao-41589
radosgw-admin: add --uid check in bucket list command

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-09-19 14:17:35 -04:00
Casey Bodley
49d0395317
Merge pull request #30332 from linuxbox2/wip-ldap-denied
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:16:29 -04:00
Casey Bodley
c18db0c40b
Merge pull request #30384 from ZVampirEM77/bucket-create-time
rgw: add creation time information into bucket stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-19 14:15:33 -04:00
Abhishek L
89945b1bf3
Merge pull request #29680 from liuchang0812/s3-lock-bugfix
rgw: DefaultRetention requires either Days or Years

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 19:41:00 +02:00
Venky Shankar
7cdad344b9
Merge pull request #30451 from ajarr/fix-41903
mgr/volumes: return string type to ceph-manager
2019-09-19 18:58:32 +05:30
Lenz Grimmer
bbb580e938
mgr/dashboard: Add smartctl data as an details tab of an OSD (#30324)
mgr/dashboard: Add smartctl data as an details tab of an OSD

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-19 12:48:51 +00:00
Ricardo Dias
efe91beccf
Merge pull request #30270 from ricardoasmarques/wip-41727
mgr/dashboard: Check if `num_sessions` is available

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-19 11:08:48 +01:00
Venky Shankar
88aa0576a6 mgr/volumes: return string type to ceph-manager
The 'volumes' ceph-mgr module returns a byte type instead of a string
type as the stdout result of commands, `fs subvolume getpath` and
`fs subvolumegroup getpath` to the ceph-mgr. This causes the commands
to hang and the ceph-mgr to utilize 100% CPU. Fix the 'volumes'
ceph-mgr module to return string type to ceph-mgr as the stdout
result of the commands.

Introduced-by: 3d63cd947f
Fixes: https://tracker.ceph.com/issues/41903
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2019-09-19 14:56:26 +05:30
Kefu Chai
3d7e5b0e3f
Merge pull request #30410 from tchaikov/wip-debian-g++
debian/control: Build-Depends on g++

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2019-09-19 10:02:02 +08:00
Kefu Chai
e7287257ef
Merge pull request #30405 from p-se/wip-pna-ubuntu-disco-deps
install-deps.sh: add support for Ubuntu Disco Dingo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-19 10:01:07 +08:00
Kefu Chai
51dd3740db
Merge pull request #30453 from tchaikov/wip-doc-crimson
doc/dev/crimson: transpose options of compare.py

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-19 09:22:19 +08:00
David Zafman
7ea365920b
Merge pull request #30440 from dzafman/wip-41900
Revert "common: default pg_autoscale_mode=on for new pools"

Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-18 09:18:46 -07:00
Kefu Chai
3914de3fc6
Merge pull request #30458 from tchaikov/wip-crimson-cbt-test
test/crimson: lower the bar for cbt test

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-18 23:47:59 +08:00
Kefu Chai
a6bf7671a9
Merge pull request #30433 from tchaikov/wip-crimson-pgls
crimson/osd: add pgls support

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-18 23:38:03 +08:00
Kefu Chai
c25a9d7233 crimson/osd: add pgls_filter support
it's modeled after pgnls_filter. and use seastar::map_reduce() for
filtering the objects into the response.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:59:18 +08:00
Kefu Chai
d7be213b8c crimson/osd: return hobject_t from pgls_filter()
so we can use it as the mapper function in seastar::map_reduce().

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:57:31 +08:00
Kefu Chai
b9e2c808c6 crimson/osd: add pgls support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:57:07 +08:00
Kefu Chai
eec27f5832 crimson/osd: handle pg ops with do_pg_ops()
currently, OpsExecuter tries to load the object info for all ops to be
executed, but the PG ops do not require the existence of object
specified by op. so we need to specialize for them.

in this change,

* `OpsExecuter::execute_pg_op()` is added to handle pg ops without
  loading object info first.
* `pgnls` and `pgnls_filter` are handled by
  `OpsExecuter::execute_pg_op()`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:54:39 +08:00
Kefu Chai
05b88f644e crimson/osd/OpsExecuter: pass nspace in msg to do_pg_op()
as pg ops should not require the object info, as there is chance that
the object specified in pg ops does not exist at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:51:28 +08:00
Kefu Chai
a967e40198 crimson/osd/OpsExecuter: s/do_osd_op/execute_osd_op/
will add execute_pg_op() for performing pg specific ops, which do not
need the object state.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:51:28 +08:00
Kefu Chai
8bc359fef6 test/crimson: lower the bar for cbt test
sometimes we have

13:27:59 - WARNING  - cbt      -prefill/incerta08.front.sepia.ceph.com/0: iops_stddev: (or (less) (near 0.05)):: 13.0/9.53939  => rejected

i think it's acceptable

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:26:48 +08:00
Kefu Chai
044b7620e4 github: add "jenkins test crimson perf" to triggers doc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 22:24:04 +08:00
Ilya Dryomov
d3c19d531d
Merge pull request #30452 from idryomov/wip-krbd-discard-direct
qa: avoid page cache for krbd discard round off tests

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-18 14:53:43 +02:00
Kefu Chai
14e73478b0
Merge pull request #30386 from tchaikov/wip-run_tox.sh-cleanup
script/run_tox.sh: remove unused code

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-18 20:11:23 +08:00
Kefu Chai
374425dbbb
Merge pull request #29734 from hselin/rados_bench_rand_read
tools/rados: use num ops instead of num objs for tracking outstanding IO

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-18 19:42:23 +08:00
Laura Paduano
b36d721c8a
Merge pull request #29767 from votdev/issue_41314
mgr/dashboard: Editing RGW bucket fails because of name is already in use

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-09-18 11:40:45 +02:00
Kefu Chai
60a4dfd8ad doc/dev/crimson: transpose options of compare.py
they were `-a baseline -b test` before this change, and they should be
`-a test -b baseline`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 17:15:27 +08:00
Kefu Chai
b694cf201f
Merge pull request #30313 from cyx1231st/wip-seastar-msgr-test-racing-crimson
crimson/net: v2 racing tests, stall tests and bug fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-18 17:08:12 +08:00
Yingxin Cheng
08681e1cea crimson/net: log out_q size when execute_ready()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
76b902b3ff crimson/net: set exit_open atomically with write_dispatching
exit_open should be set atomically with state checks and
write_dispatching changes, or there would be chances to be blocked
forever by exit_open.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
33e4ad49f3 test/crimson: add timeout feature for blockers to fail
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
e9fc2207ee test/crimson: improve loggings for test operations
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
7324f9bd6e crimson/net: chain non-discardable futures
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
5d0eff7818 crimson/net: discard and add note to discardable futures
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
ac48476fd1 crimson/net: discard future returned by close()
It's OK to discard the returned future of Connection::close() because
Messenger::shutdown() will wait for all connections closed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
16f2d75582 crimson/net: explicitly discard future from with_gate()
We are using with_gate() to wrap a slow operation when we want to start
it but don't want/need to wait it to be finished in the same function.
In this case, the future returned from with_gate() is discarded, and we
need to make sure there is another continuation responsible to waiting
for the gate closed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
212120f244 test/crimson: test connection stall cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
2d2ee4e5db test/crimson: implement STALL action for breakpoint
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
e3d4a67410 test/crimson: test connect-reconnect racing cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
c0ed141d4d crimson/net: always dispatch accept when replaced/accepted
Fix issues of missing dispatches of accept event during connection
racing.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
8463fbbdf2 test/crimson: test connect racing cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:28 +08:00
Yingxin Cheng
00cc47817a test/crimson: fix tests with the new ESTABLISHING state
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:30:36 +08:00